You are here

public function TeamAppListByTeam::__construct in Apigee Edge 8

TeamAppListByTeam constructor.

Parameters

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

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

\Drupal\Core\Render\RendererInterface $render: The render.

\Symfony\Component\HttpFoundation\RequestStack $request_stack: The request stack object.

\Drupal\Component\Datetime\TimeInterface $time: The time service.

\Drupal\Core\Routing\RouteMatchInterface $route_match: The route match object.

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.

Overrides AppListBuilder::__construct

File

modules/apigee_edge_teams/src/Entity/ListBuilder/TeamAppListByTeam.php, line 66

Class

TeamAppListByTeam
Lists team apps of a team on the UI.

Namespace

Drupal\apigee_edge_teams\Entity\ListBuilder

Code

public function __construct(EntityTypeInterface $entity_type, EntityTypeManagerInterface $entity_type_manager, RendererInterface $render, RequestStack $request_stack, TimeInterface $time, RouteMatchInterface $route_match, ConfigFactoryInterface $config_factory = NULL) {
  if (!$config_factory) {
    $config_factory = \Drupal::service('config.factory');
  }
  parent::__construct($entity_type, $entity_type_manager, $render, $request_stack, $time, $config_factory);
  $this->routeMatch = $route_match;
}