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 = $pagesNames->pageNameHasConflict(Page $page);
Arguments
Name | Type(s) | Description |
---|---|---|
page | Page | Page to check |
Return value
string
bool
Returns string with conflict reason or boolean false if no conflict
Exceptions
Method can throw exceptions on error:
WireException
- If given invalid $options argument
PagesNames methods and properties
API reference based on ProcessWire core version 3.0.236