You are here

public function EntityLocalActionProviderInterface::buildLocalActions in Entity API 8

Builds local actions for the given entity type.

Parameters

\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type.

Return value

array[] An array of local action definitions.

1 method overrides EntityLocalActionProviderInterface::buildLocalActions()
EntityCollectionLocalActionProvider::buildLocalActions in src/Menu/EntityCollectionLocalActionProvider.php
Builds local actions for the given entity type.

File

src/Menu/EntityLocalActionProviderInterface.php, line 21

Class

EntityLocalActionProviderInterface
Provides an interface for entity local action providers.

Namespace

Drupal\entity\Menu

Code

public function buildLocalActions(EntityTypeInterface $entity_type);