public function AppAnalyticsFormBase::__construct in Apigee Edge 8
Constructs a new AppAnalyticsFormBase.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\apigee_edge\SDKConnectorInterface $sdk_connector: The SDK connector service.
\Drupal\Core\TempStore\PrivateTempStoreFactory $tempstore_private: The private temp store factory.
\Drupal\Core\Routing\UrlGeneratorInterface $url_generator: The URL generator.
File
- src/
Form/ AppAnalyticsFormBase.php, line 84
Class
- AppAnalyticsFormBase
- App analytics form builder for developer- and team apps.
Namespace
Drupal\apigee_edge\FormCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, SDKConnectorInterface $sdk_connector, PrivateTempStoreFactory $tempstore_private, UrlGeneratorInterface $url_generator) {
$this->entityTypeManager = $entity_type_manager;
$this->connector = $sdk_connector;
$this->store = $tempstore_private
->get('apigee_edge.analytics');
$this->urlGenerator = $url_generator;
}