Beispiel #1
0
 /**
  * Users constructor.
  *
  * @param EntityTypeManagerInterface  $entityTypeManager
  * @param EntityFieldManagerInterface $entityFieldManager
  * @param DateFormatterInterface      $dateFormatter
  * @param array                       $roles
  */
 public function __construct(EntityTypeManagerInterface $entityTypeManager, EntityFieldManagerInterface $entityFieldManager, DateFormatterInterface $dateFormatter, $roles)
 {
     $this->roles = $roles;
     parent::__construct($entityTypeManager, $entityFieldManager, $dateFormatter);
 }
Beispiel #2
0
 /**
  * Terms constructor.
  *
  * @param EntityManagerInterface $entityManager
  * @param DateFormatterInterface $dateFormatter
  * @param array                  $vocabularies
  */
 public function __construct(EntityManagerInterface $entityManager, DateFormatterInterface $dateFormatter, $vocabularies)
 {
     $this->vocabularies = $vocabularies;
     parent::__construct($entityManager, $dateFormatter);
 }
Beispiel #3
0
 /**
  * Vocabularies constructor.
  *
  * @param EntityTypeManagerInterface  $entityManager
  * @param EntityFieldManagerInterface $entityFieldManager
  * @param DateFormatterInterface      $dateFormatter
  */
 public function __construct(EntityTypeManagerInterface $entityManager, EntityFieldManagerInterface $entityFieldManager, DateFormatterInterface $dateFormatter)
 {
     parent::__construct($entityManager, $entityFieldManager, $dateFormatter);
 }
Beispiel #4
0
 /**
  * Nodes constructor.
  *
  * @param EntityManagerInterface $entityManager
  * @param DateFormatterInterface $dateFormatter
  * @param array                  $bundles
  */
 public function __construct(EntityManagerInterface $entityManager, DateFormatterInterface $dateFormatter, $bundles)
 {
     $this->bundles = $bundles;
     parent::__construct($entityManager, $dateFormatter);
 }