You are here

interface EntityLocalActionProviderInterface in Entity API 8

Provides an interface for entity local action providers.

Hierarchy

Expanded class hierarchy of EntityLocalActionProviderInterface

All classes that implement EntityLocalActionProviderInterface

File

src/Menu/EntityLocalActionProviderInterface.php, line 10

Namespace

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

Namesort descending Modifiers Type Description Overrides
EntityLocalActionProviderInterface::buildLocalActions public function Builds local actions for the given entity type. 1