public function ApiProductStorage::__construct in Apigee Edge 8
Same name in this branch
- 8 src/Entity/Storage/ApiProductStorage.php \Drupal\apigee_edge\Entity\Storage\ApiProductStorage::__construct()
- 8 modules/apigee_edge_apiproduct_rbac/tests/modules/apigee_edge_apiproduct_rbac_test/src/ApiProductStorage.php \Drupal\apigee_edge_apiproduct_rbac_test\ApiProductStorage::__construct()
Constructs an APIProductStorage instance.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.
\Drupal\Core\Cache\CacheBackendInterface $cache_backend: The cache backend to be used.
\Drupal\Core\Cache\MemoryCache\MemoryCacheInterface $memory_cache: The memory cache.
\Drupal\Component\Datetime\TimeInterface $system_time: The system time.
\Drupal\apigee_edge\Entity\Controller\ApiProductControllerInterface $api_product_controller: The API product controller service.
\Drupal\Core\Config\ConfigFactoryInterface $config: Configuration factory.
\Drupal\Core\State\StateInterface $state: The state key/value store.
Overrides ApiProductStorage::__construct
File
- modules/
apigee_edge_apiproduct_rbac/ tests/ modules/ apigee_edge_apiproduct_rbac_test/ src/ ApiProductStorage.php, line 63
Class
- ApiProductStorage
- API Product storage for testing.
Namespace
Drupal\apigee_edge_apiproduct_rbac_testCode
public function __construct(EntityTypeInterface $entity_type, CacheBackendInterface $cache_backend, MemoryCacheInterface $memory_cache, TimeInterface $system_time, ApiProductControllerInterface $api_product_controller, ConfigFactoryInterface $config, StateInterface $state) {
parent::__construct($entity_type, $cache_backend, $memory_cache, $system_time, $api_product_controller, $config);
$this->state = $state;
}