public function ConfigEntityRevisionsConfigEntityTrait::hasCanonicalUrl in Config Entity Revisions 8.2
Return whether the entity has a canonical URL.
Return value
bool Whether the entity has a canonical URL.
File
- src/
ConfigEntityRevisionsConfigEntityTrait.php, line 213
Class
- ConfigEntityRevisionsConfigEntityTrait
- Trait ConfigEntityRevisionsConfigEntityTrait.
Namespace
Drupal\config_entity_revisionsCode
public function hasCanonicalUrl() {
return $this->constants['has_canonical_url'] ?: FALSE;
}