public function Entity::uriRelationships in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Entity/Entity.php \Drupal\Core\Entity\Entity::uriRelationships()
Returns a list of URI relationships supported by this entity.
Return value
array An array of link relationships supported by this entity.
Overrides EntityInterface::uriRelationships
File
- core/
lib/ Drupal/ Core/ Entity/ Entity.php, line 329 - Contains \Drupal\Core\Entity\Entity.
Class
- Entity
- Defines a base entity class.
Namespace
Drupal\Core\EntityCode
public function uriRelationships() {
return array_keys($this
->linkTemplates());
}