public function EncryptionProfileListBuilder::__construct in Encrypt 8.3
Constructs a new EncryptionProfileListBuilder object.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.
\Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage class.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The configuration factory.
Overrides EntityListBuilder::__construct
File
- src/
Controller/ EncryptionProfileListBuilder.php, line 35
Class
- EncryptionProfileListBuilder
- Provides a listing of encryption profile entities.
Namespace
Drupal\encrypt\ControllerCode
public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, ConfigFactoryInterface $config_factory) {
parent::__construct($entity_type, $storage);
$this->config = $config_factory
->get('encrypt.settings');
}