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