public function ParagraphAccessControlHandler::__construct

Constructs a TranslatorAccessControlHandler object.

Parameters

\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.

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

File

paragraphs/src/ParagraphAccessControlHandler.php, line 36

Class

ParagraphAccessControlHandler
Access controller for the paragraphs entity.

Namespace

Drupal\paragraphs

Code

public function __construct(EntityTypeInterface $entity_type, ConfigFactoryInterface $config_factory) {
  parent::__construct($entity_type);
  $this->configFactory = $config_factory;
}