You are here

interface EntityLocalTaskProviderInterface in Entity API 8

Provides an interface for entity local task providers.

Hierarchy

Expanded class hierarchy of EntityLocalTaskProviderInterface

All classes that implement EntityLocalTaskProviderInterface

File

src/Menu/EntityLocalTaskProviderInterface.php, line 10

Namespace

Drupal\entity\Menu
View 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

Namesort descending Modifiers Type Description Overrides
EntityLocalTaskProviderInterface::buildLocalTasks public function Builds local tasks for the given entity type. 1