3 namespace Drupal\entity\Menu;
5 use Drupal\Core\Entity\EntityTypeInterface;
8 * Provides an interface for entity local action providers.
10 interface EntityLocalActionProviderInterface {
13 * Builds local actions for the given entity type.
15 * @param \Drupal\Core\Entity\EntityTypeInterface $entity_type
19 * An array of local action definitions.
21 public function buildLocalActions(EntityTypeInterface $entity_type);