protected property FormEntityHelperTrait::$entityRepository in Block Style Plugins 8.2
Instance of the Entity Repository service.
Type: \Drupal\Core\Entity\EntityRepositoryInterface
File
- src/
FormEntityHelperTrait.php, line 20
Class
- FormEntityHelperTrait
- Provides a helper for getting information from the entity being styled.
Namespace
Drupal\block_style_pluginsCode
protected $entityRepository;