Skip to content

Commit

Permalink
Another property.
Browse files Browse the repository at this point in the history
Also, call the parent constructor, just 'cause PHPStorm was flagging
that it wasn't.
  • Loading branch information
adam-vessey committed Oct 19, 2023
1 parent 816a1c9 commit a514ab2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Commands/ToolsCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,21 @@ class ToolsCommands extends DrushCommands {
*/
protected $cacheKey;

/**
* The entity field manager service.
*
* @var \Drupal\Core\Entity\EntityFieldManagerInterface
*/
protected EntityFieldManagerInterface $entityFieldManager;

/**
* Constructor.
*
* @param \Drupal\Core\Entity\EntityFieldManagerInterface $entity_field_manager
* The entity field manager service.
*/
public function __construct(EntityFieldManagerInterface $entity_field_manager) {
parent::__construct();
$this->entityFieldManager = $entity_field_manager;
}

Expand Down

0 comments on commit a514ab2

Please sign in to comment.