You are here

public static function ScheduledTransitionsRouteProvider::getScheduledTransitionRouteName in Scheduled Transitions 8

Same name and namespace in other branches
  1. 2.x src/Routing/ScheduledTransitionsRouteProvider.php \Drupal\scheduled_transitions\Routing\ScheduledTransitionsRouteProvider::getScheduledTransitionRouteName()

Get the route name for scheduled transition form for an entity type..

Parameters

\Drupal\Core\Entity\EntityTypeInterface $entityType: An entity type.

Return value

string The route name.

4 calls to ScheduledTransitionsRouteProvider::getScheduledTransitionRouteName()
ScheduledTransitionsLocalActions::getDerivativeDefinitions in src/Plugin/Derivative/ScheduledTransitionsLocalActions.php
Gets the definition of all derivatives of a base plugin.
ScheduledTransitionsLocalTasks::getDerivativeDefinitions in src/Plugin/Derivative/ScheduledTransitionsLocalTasks.php
Gets the definition of all derivatives of a base plugin.
ScheduledTransitionsRouteProvider::getRoutes in src/Routing/ScheduledTransitionsRouteProvider.php
Provides routes for entities.
scheduled_transitions_entity_operation in ./scheduled_transitions.module
Implements hook_entity_operation().

File

src/Routing/ScheduledTransitionsRouteProvider.php, line 94

Class

ScheduledTransitionsRouteProvider
Route provider for host entities of Scheduled Transitions.

Namespace

Drupal\scheduled_transitions\Routing

Code

public static function getScheduledTransitionRouteName(EntityTypeInterface $entityType) {
  return sprintf('entity.%s.scheduled_transitions', $entityType
    ->id());
}