EntityDisplayModeFormBase.php |
file |
core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php |
|
EntityDisplayModeFormBase::$displayContext |
property |
core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php |
The display context. Either 'view' or 'form'. |
EntityDisplayModeFormBase::$entityType |
property |
core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php |
The entity type definition. |
EntityDisplayModeFormBase::$targetEntityTypeId |
property |
core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php |
The entity type for which the display mode is being created or edited. |
EntityDisplayModeFormBase::buildForm |
function |
core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php |
Form constructor. |
EntityDisplayModeFormBase::copyFormValuesToEntity |
function |
core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php |
Copies top-level form values to entity properties. |
EntityDisplayModeFormBase::create |
function |
core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php |
Instantiates a new instance of this class. |
EntityDisplayModeFormBase::exists |
function |
core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php |
Determines if the display mode already exists. |
EntityDisplayModeFormBase::form |
function |
core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php |
Gets the actual form array to be built. |
EntityDisplayModeFormBase::getDisplayByContext |
function |
core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php |
Returns View or Form display based on display context. |
EntityDisplayModeFormBase::getEntityDisplay |
function |
core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php |
Returns an entity display object to be used by this form. |
EntityDisplayModeFormBase::getFormDisplay |
function |
core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php |
Load the form display for a given bundle and form mode name. |
EntityDisplayModeFormBase::getOverviewUrl |
function |
core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php |
Returns the Url object for a specific entity (form) display edit form. |
EntityDisplayModeFormBase::getViewDisplay |
function |
core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php |
Load the view display for a given bundle and view mode name. |
EntityDisplayModeFormBase::init |
function |
core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php |
Initialize the form state and the entity before the first form build. |
EntityDisplayModeFormBase::save |
function |
core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php |
Form submission handler for the 'save' action. |
EntityDisplayModeFormBase::__construct |
function |
core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php |
Constructs a EntityDisplayModeFormBase object. |
EntityDisplayModeTest::testEntityFormModeUI |
function |
core/modules/field_ui/tests/src/Functional/EntityDisplayModeTest.php |
Tests the EntityFormMode user interface. |
EntityDisplayRepository::getAllFormModes |
function |
core/lib/Drupal/Core/Entity/EntityDisplayRepository.php |
Gets the entity form mode info for all entity types. |
EntityDisplayRepository::getFormDisplay |
function |
core/lib/Drupal/Core/Entity/EntityDisplayRepository.php |
Returns the entity form display associated with a bundle and form mode. |
EntityDisplayRepository::getFormModeOptions |
function |
core/lib/Drupal/Core/Entity/EntityDisplayRepository.php |
Gets an array of form mode options. |
EntityDisplayRepository::getFormModeOptionsByBundle |
function |
core/lib/Drupal/Core/Entity/EntityDisplayRepository.php |
Returns an array of enabled form mode options by bundle. |
EntityDisplayRepository::getFormModes |
function |
core/lib/Drupal/Core/Entity/EntityDisplayRepository.php |
Gets the entity form mode info for a specific entity type. |
EntityDisplayRepositoryInterface::getAllFormModes |
function |
core/lib/Drupal/Core/Entity/EntityDisplayRepositoryInterface.php |
Gets the entity form mode info for all entity types. |
EntityDisplayRepositoryInterface::getFormDisplay |
function |
core/lib/Drupal/Core/Entity/EntityDisplayRepositoryInterface.php |
Returns the entity form display associated with a bundle and form mode. |
EntityDisplayRepositoryInterface::getFormModeOptions |
function |
core/lib/Drupal/Core/Entity/EntityDisplayRepositoryInterface.php |
Gets an array of form mode options. |
EntityDisplayRepositoryInterface::getFormModeOptionsByBundle |
function |
core/lib/Drupal/Core/Entity/EntityDisplayRepositoryInterface.php |
Returns an array of enabled form mode options by bundle. |
EntityDisplayRepositoryInterface::getFormModes |
function |
core/lib/Drupal/Core/Entity/EntityDisplayRepositoryInterface.php |
Gets the entity form mode info for a specific entity type. |
EntityDisplayRepositoryTest::testFormDisplay |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDisplayRepositoryTest.php |
@covers ::getFormDisplay[[api-linebreak]] |
EntityDisplayTest::testEntityForm |
function |
core/modules/field_ui/tests/src/FunctionalJavascript/EntityDisplayTest.php |
Tests the use of regions for entity form displays. |
EntityExists::transform |
function |
core/modules/migrate/src/Plugin/migrate/process/EntityExists.php |
Performs the associated process. |
EntityField::$formatterOptions |
property |
core/modules/views/src/Plugin/views/field/EntityField.php |
An array of formatter options. |
EntityField::$formatterPluginManager |
property |
core/modules/views/src/Plugin/views/field/EntityField.php |
The field formatter plugin manager. |
EntityField::buildGroupByForm |
function |
core/modules/views/src/Plugin/views/field/EntityField.php |
Extend the group by form with group columns. |
EntityField::buildOptionsForm |
function |
core/modules/views/src/Plugin/views/field/EntityField.php |
Default option form that provides label widget that all fields should have. |
EntityField::getFormatterInstance |
function |
core/modules/views/src/Plugin/views/field/EntityField.php |
Returns the field formatter instance. |
EntityField::multiple_options_form |
function |
core/modules/views/src/Plugin/views/field/EntityField.php |
Provide options for multiple value fields. |
EntityField::submitFormCalculateOptions |
function |
core/modules/views/src/Plugin/views/field/EntityField.php |
Calculates options stored on the handler. |
EntityField::submitGroupByForm |
function |
core/modules/views/src/Plugin/views/field/EntityField.php |
Perform any necessary changes to the form values prior to storage. |
EntityForm |
class |
core/lib/Drupal/Core/Entity/EntityForm.php |
Base class for entity forms. |
EntityForm.php |
file |
core/lib/Drupal/Core/Entity/EntityForm.php |
|
EntityForm::$entity |
property |
core/lib/Drupal/Core/Entity/EntityForm.php |
The entity being used by this form. |
EntityForm::$entityTypeManager |
property |
core/lib/Drupal/Core/Entity/EntityForm.php |
The entity type manager. |
EntityForm::$moduleHandler |
property |
core/lib/Drupal/Core/Entity/EntityForm.php |
The module handler service. |
EntityForm::$operation |
property |
core/lib/Drupal/Core/Entity/EntityForm.php |
The name of the current operation. |
EntityForm::actions |
function |
core/lib/Drupal/Core/Entity/EntityForm.php |
Returns an array of supported actions for the current entity form. |
EntityForm::actionsElement |
function |
core/lib/Drupal/Core/Entity/EntityForm.php |
Returns the action form element for the current entity form. |
EntityForm::afterBuild |
function |
core/lib/Drupal/Core/Entity/EntityForm.php |
Form element #after_build callback: Updates the entity with submitted data. |
EntityForm::buildEntity |
function |
core/lib/Drupal/Core/Entity/EntityForm.php |
Builds an updated entity object based upon the submitted form values. |
EntityForm::buildForm |
function |
core/lib/Drupal/Core/Entity/EntityForm.php |
Form constructor. |