You are here

public function DeveloperAppListBuilderForDeveloper::__construct in Apigee Edge 8

DeveloperAppListBuilderForDeveloper 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\Session\AccountInterface $current_user: Currently logged-in user.

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

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

Overrides AppListBuilder::__construct

File

src/Entity/ListBuilder/DeveloperAppListBuilderForDeveloper.php, line 89

Class

DeveloperAppListBuilderForDeveloper
Lists developer apps of a developer on the UI.

Namespace

Drupal\apigee_edge\Entity\ListBuilder

Code

public function __construct(EntityTypeInterface $entity_type, EntityTypeManagerInterface $entity_type_manager, RendererInterface $render, RequestStack $request_stack, TimeInterface $time, AccountInterface $current_user, 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->currentUser = $current_user;
  $this->routeMatch = $route_match;
}