PagesNames::names method
Does given page have a name that has a conflict/collision?
In multi-language environment this applies to default language only.
Available since version 3.0.127.
Usage
$string = $pages->names->pageNameHasConflict(Page $page);Arguments
| Name | Type(s) | Description |
|---|---|---|
$page | Page | Page to check |
Return value
string boolReturns string with conflict reason or boolean false if no conflict
Exceptions
Method can throw exceptions on error:
WireException- If given invalid $options argument
$pages->names methods and properties
API reference based on ProcessWire core version 3.0.252