コード例 #1
0
ファイル: UserData.php プロジェクト: ibonelli/DrupalConsole
 /**
  * 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);
 }
コード例 #2
0
ファイル: Terms.php プロジェクト: blasoliva/DrupalConsole
 /**
  * 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);
 }
コード例 #3
0
ファイル: Vocabularies.php プロジェクト: mnico/DrupalConsole
 /**
  * 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);
 }
コード例 #4
0
ファイル: Nodes.php プロジェクト: blasoliva/DrupalConsole
 /**
  * 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);
 }