public function EntityTypeInterface::setUriCallback in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/EntityTypeInterface.php \Drupal\Core\Entity\EntityTypeInterface::setUriCallback()
Sets a callable to use to provide the entity URI.
Parameters
callable $callback: A callback to use to provide a URI for the entity.
Return value
$this
1 method overrides EntityTypeInterface::setUriCallback()
- EntityType::setUriCallback in core/
lib/ Drupal/ Core/ Entity/ EntityType.php - Sets a callable to use to provide the entity URI.
File
- core/
lib/ Drupal/ Core/ Entity/ EntityTypeInterface.php, line 652 - Contains \Drupal\Core\Entity\EntityTypeInterface.
Class
- EntityTypeInterface
- Provides an interface for an entity type and its metadata.
Namespace
Drupal\Core\EntityCode
public function setUriCallback($callback);