public function ConfigEntityRevisionsStorageTrait::has_canonical_url in Config Entity Revisions 8
Same name and namespace in other branches
- 1.x src/ConfigEntityRevisionsStorageTrait.php \Drupal\config_entity_revisions\ConfigEntityRevisionsStorageTrait::has_canonical_url()
Return value
boolean Whether the entity has a canonical URL.
File
- src/
ConfigEntityRevisionsStorageTrait.php, line 96
Class
- ConfigEntityRevisionsStorageTrait
- Defines a trait for modules to use in creating a revisioned config entity.
Namespace
Drupal\config_entity_revisionsCode
public function has_canonical_url() {
return $this->constants['has_canonical_url'] ?: FALSE;
}