public EntityType::getUriCallback()
Gets a callable that can be used to provide the entity URI.
This is only called if there is no matching link template for the link relationship type, and there is no bundle-specific callback provided.
callable|null A valid callback that is passed the entity or NULL if none is specified.
Overrides EntityTypeInterface::getUriCallback
public function getUriCallback() { return $this->uri_callback; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!EntityType.php/function/EntityType::getUriCallback/8.1.x