protected property WebformEntityReferenceTrait::$entityRepository in Webform 6.x
The entity repository.
Type: \Drupal\Core\Entity\EntityRepositoryInterface
File
- src/
Plugin/ WebformElement/ WebformEntityReferenceTrait.php, line 29
Class
- WebformEntityReferenceTrait
- Provides an 'entity_reference' trait.
Namespace
Drupal\webform\Plugin\WebformElementCode
protected $entityRepository;