public function BrightcoveAPIClient::__construct in Brightcove Video Connect 3.x
Same name and namespace in other branches
- 8.2 src/Entity/BrightcoveAPIClient.php \Drupal\brightcove\Entity\BrightcoveAPIClient::__construct()
- 8 src/Entity/BrightcoveAPIClient.php \Drupal\brightcove\Entity\BrightcoveAPIClient::__construct()
Constructs an Entity object.
Parameters
array $values: An array of values to set, keyed by property name. If the entity type has bundles, the bundle key has to be specified.
string $entity_type: The type of the entity to create.
Overrides ConfigEntityBase::__construct
File
- src/
Entity/ BrightcoveAPIClient.php, line 270
Class
- BrightcoveAPIClient
- Defines the Brightcove API Client entity.
Namespace
Drupal\brightcove\EntityCode
public function __construct(array $values, $entity_type) {
parent::__construct($values, $entity_type);
$this->key_value_expirable_store = \Drupal::keyValueExpirable('brightcove_access_token');
}