You are here

protected property Select2EntityReferenceWidget::$entityTypeManager in Select 2 8

The entity type manager service.

Type: \Drupal\Core\Entity\EntityTypeManagerInterface

File

src/Plugin/Field/FieldWidget/Select2EntityReferenceWidget.php, line 36

Class

Select2EntityReferenceWidget
Plugin implementation of the 'select2' widget.

Namespace

Drupal\select2\Plugin\Field\FieldWidget

Code

protected $entityTypeManager;