WebformEntitySelect.php in Webform 6.x
Same filename in this branch
Same filename and directory in other branches
Namespace
Drupal\webform\Plugin\WebformElementFile
src/Plugin/WebformElement/WebformEntitySelect.phpView source
<?php
namespace Drupal\webform\Plugin\WebformElement;
use Drupal\webform\Plugin\WebformElementEntityOptionsInterface;
/**
* Provides a 'webform_entity_select' element.
*
* @WebformElement(
* id = "webform_entity_select",
* label = @Translation("Entity select"),
* description = @Translation("Provides a form element to select a single or multiple entity references using a select menu."),
* category = @Translation("Entity reference elements"),
* )
*/
class WebformEntitySelect extends Select implements WebformElementEntityOptionsInterface {
use WebformEntityReferenceTrait;
use WebformEntityOptionsTrait;
}
Classes
Name | Description |
---|---|
WebformEntitySelect | Provides a 'webform_entity_select' element. |