interface EntityLocalActionProviderInterface in Entity API 8
Provides an interface for entity local action providers.
Hierarchy
- interface \Drupal\entity\Menu\EntityLocalActionProviderInterface
Expanded class hierarchy of EntityLocalActionProviderInterface
All classes that implement EntityLocalActionProviderInterface
File
- src/
Menu/ EntityLocalActionProviderInterface.php, line 10
Namespace
Drupal\entity\MenuView source
interface EntityLocalActionProviderInterface {
/**
* Builds local actions for the given entity type.
*
* @param \Drupal\Core\Entity\EntityTypeInterface $entity_type
* The entity type.
*
* @return array[]
* An array of local action definitions.
*/
public function buildLocalActions(EntityTypeInterface $entity_type);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
EntityLocalActionProviderInterface:: |
public | function | Builds local actions for the given entity type. | 1 |