You are here

public function Entity::__construct in Open Social 8.2

Same name and namespace in other branches
  1. 8.9 modules/custom/mentions/src/Plugin/Mentions/Entity.php \Drupal\mentions\Plugin\Mentions\Entity::__construct()
  2. 8 modules/custom/mentions/src/Plugin/Mentions/Entity.php \Drupal\mentions\Plugin\Mentions\Entity::__construct()
  3. 8.3 modules/custom/mentions/src/Plugin/Mentions/Entity.php \Drupal\mentions\Plugin\Mentions\Entity::__construct()
  4. 8.4 modules/custom/mentions/src/Plugin/Mentions/Entity.php \Drupal\mentions\Plugin\Mentions\Entity::__construct()
  5. 8.5 modules/custom/mentions/src/Plugin/Mentions/Entity.php \Drupal\mentions\Plugin\Mentions\Entity::__construct()
  6. 8.6 modules/custom/mentions/src/Plugin/Mentions/Entity.php \Drupal\mentions\Plugin\Mentions\Entity::__construct()
  7. 8.7 modules/custom/mentions/src/Plugin/Mentions/Entity.php \Drupal\mentions\Plugin\Mentions\Entity::__construct()
  8. 8.8 modules/custom/mentions/src/Plugin/Mentions/Entity.php \Drupal\mentions\Plugin\Mentions\Entity::__construct()
  9. 10.3.x modules/custom/mentions/src/Plugin/Mentions/Entity.php \Drupal\mentions\Plugin\Mentions\Entity::__construct()
  10. 10.0.x modules/custom/mentions/src/Plugin/Mentions/Entity.php \Drupal\mentions\Plugin\Mentions\Entity::__construct()
  11. 10.1.x modules/custom/mentions/src/Plugin/Mentions/Entity.php \Drupal\mentions\Plugin\Mentions\Entity::__construct()
  12. 10.2.x modules/custom/mentions/src/Plugin/Mentions/Entity.php \Drupal\mentions\Plugin\Mentions\Entity::__construct()

Entity constructor.

File

modules/custom/mentions/src/Plugin/Mentions/Entity.php, line 30

Class

Entity
Class Entity.

Namespace

Drupal\mentions\Plugin\Mentions

Code

public function __construct(Token $token, EntityManager $entity_manager, QueryFactory $entity_query) {
  $this->tokenService = $token;
  $this->entityManager = $entity_manager;
  $this->entityQueryService = $entity_query;
}