You are here

public function BetterFormatsPermissions::__construct in Better Formats 8

Constructs a new BetterFormatsPermissions instance.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_manager: The entity manager.

File

src/BetterFormatsPermissions.php, line 30

Class

BetterFormatsPermissions
Provides dynamic permissions of the better formats module.

Namespace

Drupal\better_formats

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager) {
  $this->entityTypeManager = $entity_type_manager;
}