Base class for EntityDisplay edit forms.
Hierarchy
- class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTrait
- class \Drupal\Core\Entity\EntityForm implements EntityFormInterface
- class \Drupal\field_ui\Form\EntityDisplayFormBase
- class \Drupal\Core\Entity\EntityForm implements EntityFormInterface
File
- core/modules/field_ui/src/Form/EntityDisplayFormBase.php, line 21
Namespace
Drupal\field_ui\Form
Members
Name | Modifiers | Type | Description |
---|---|---|---|
DependencySerializationTrait::$_serviceIds | protected | property | An array of service IDs keyed by property name used for serialization. |
DependencySerializationTrait::__sleep | public | function | |
DependencySerializationTrait::__wakeup | public | function | |
EntityDisplayFormBase::$displayContext | protected | property | The display context. Either 'view' or 'form'. |
EntityDisplayFormBase::$entity | protected | property | The entity being used by this form. Overrides EntityForm::$entity |
EntityDisplayFormBase::$fieldTypes | protected | property | A list of field types. |
EntityDisplayFormBase::$pluginManager | protected | property | The widget or formatter plugin manager. |
EntityDisplayFormBase::alterSettingsSummary | abstract protected | function | Alters the widget or formatter settings summary. |
EntityDisplayFormBase::buildExtraFieldRow | protected | function | Builds the table row structure for a single extra field. |
EntityDisplayFormBase::buildFieldRow | protected | function | Builds the table row structure for a single field. |
EntityDisplayFormBase::copyFormValuesToEntity | protected | function | Copies top-level form values to entity properties Overrides EntityForm::copyFormValuesToEntity |
EntityDisplayFormBase::form | public | function | Gets the actual form array to be built. Overrides EntityForm::form |
EntityDisplayFormBase::getApplicablePluginOptions | protected | function | Returns an array of applicable widget or formatter options for a field. |
EntityDisplayFormBase::getDefaultPlugin | abstract protected | function | Returns the ID of the default widget or formatter plugin for a field type. |
EntityDisplayFormBase::getDisplayModeOptions | abstract protected | function | Returns an array of form or view mode options. |
EntityDisplayFormBase::getDisplayModes | abstract protected | function | Returns the form or view modes used by this form. |
EntityDisplayFormBase::getDisplayModesLink | abstract protected | function | Returns a link to the form or view mode admin page. |
EntityDisplayFormBase::getDisplays | protected | function | Returns entity (form) displays for the current entity display type. |
EntityDisplayFormBase::getDisplayStatuses | protected | function | Returns form or view modes statuses for the bundle used by this form. |
EntityDisplayFormBase::getEntityDisplay | abstract protected | function | Returns an entity display object to be used by this form. |
EntityDisplayFormBase::getEntityFromRouteMatch | public | function | Determines which entity will be used by this form from a RouteMatch object. Overrides EntityForm::getEntityFromRouteMatch |
EntityDisplayFormBase::getExtraFields | protected | function | Returns the extra fields of the entity type and bundle used by this form. |
EntityDisplayFormBase::getExtraFieldVisibilityOptions | protected | function | Returns an array of visibility options for extra fields. |
EntityDisplayFormBase::getFieldDefinitions | protected | function | Collects the definitions of fields whose display is configurable. |
EntityDisplayFormBase::getOverviewUrl | abstract protected | function | Returns the Url object for a specific entity (form) display edit form. |
EntityDisplayFormBase::getPluginOptions | protected | function | Returns an array of widget or formatter options for a field. |
EntityDisplayFormBase::getRegionOptions | public | function | Returns an associative array of all regions. |
EntityDisplayFormBase::getRegions | public | function | Get the regions needed to create the overview form. |
EntityDisplayFormBase::getRowRegion | public | function | Returns the region to which a row in the display overview belongs. |
EntityDisplayFormBase::getTableHeader | abstract protected | function | Returns an array containing the table headers. |
EntityDisplayFormBase::multistepAjax | public | function | Ajax handler for multistep buttons. |
EntityDisplayFormBase::multistepSubmit | public | function | Form submission handler for multistep buttons. |
EntityDisplayFormBase::reduceOrder Deprecated | public | function | Determines the rendering order of an array representing a tree. |
EntityDisplayFormBase::saveDisplayStatuses | protected | function | Saves the updated display mode statuses. |
EntityDisplayFormBase::submitForm | public | function | This is the default entity object builder function. It is called before any other submit handler to build the new entity object to be used by the following submit handlers. At this point of the form workflow the entity is validated and the form stateā¦ Overrides EntityForm::submitForm |
EntityDisplayFormBase::tablePreRender Deprecated | public | function | Performs pre-render tasks on field_ui_table elements. |
EntityDisplayFormBase::thirdPartySettingsForm | abstract protected | function | Adds the widget or formatter third party settings forms. |
EntityDisplayFormBase::__construct | public | function | Constructs a new EntityDisplayFormBase. |
EntityForm::$entityManager Deprecated | protected | property | The entity manager. |
EntityForm::$entityTypeManager | protected | property | The entity type manager. |
EntityForm::$moduleHandler | protected | property | The module handler service. |
EntityForm::$operation | protected | property | The name of the current operation. |
EntityForm::actions | protected | function | Returns an array of supported actions for the current entity form. |
EntityForm::actionsElement | protected | function | Returns the action form element for the current entity form. |
EntityForm::afterBuild | public | function | Form element #after_build callback: Updates the entity with submitted data. |
EntityForm::buildEntity | public | function | Builds an updated entity object based upon the submitted form values. Overrides EntityFormInterface::buildEntity |
EntityForm::buildForm | public | function | Form constructor. Overrides FormInterface::buildForm |
EntityForm::getBaseFormId | public | function | Returns a string identifying the base form. Overrides BaseFormIdInterface::getBaseFormId |
EntityForm::getEntity | public | function | Gets the form entity. Overrides EntityFormInterface::getEntity |
EntityForm::getFormId | public | function | Returns a unique string identifying the form. Overrides FormInterface::getFormId |
EntityForm::getOperation | public | function | Gets the operation identifying the form. Overrides EntityFormInterface::getOperation |
EntityForm::init | protected | function | Initialize the form state and the entity before the first form build. |
EntityForm::prepareEntity | protected | function | Prepares the entity object before the form is built first. |
EntityForm::prepareInvokeAll | protected | function | Invokes the specified prepare hook variant. |
EntityForm::processForm | public | function | Process callback: assigns weights and hides extra fields. |
EntityForm::save | public | function | Form submission handler for the 'save' action. Overrides EntityFormInterface::save |
EntityForm::setEntity | public | function | Sets the form entity. Overrides EntityFormInterface::setEntity |
EntityForm::setEntityManager | public | function | Sets the entity manager for this form. Overrides EntityFormInterface::setEntityManager |
EntityForm::setEntityTypeManager | public | function | Sets the entity type manager for this form. Overrides EntityFormInterface::setEntityTypeManager |
EntityForm::setModuleHandler | public | function | Sets the module handler for this form. Overrides EntityFormInterface::setModuleHandler |
EntityForm::setOperation | public | function | Sets the operation for this form. Overrides EntityFormInterface::setOperation |
FormBase::$configFactory | protected | property | The config factory. |
FormBase::$requestStack | protected | property | The request stack. |
FormBase::$routeMatch | protected | property | The route match. |
FormBase::config | protected | function | Retrieves a configuration object. |
FormBase::configFactory | protected | function | Gets the config factory for this form. |
FormBase::container | private | function | Returns the service container. |
FormBase::create | public static | function | Instantiates a new instance of this class. Overrides ContainerInjectionInterface::create |
FormBase::currentUser | protected | function | Gets the current user. |
FormBase::getRequest | protected | function | Gets the request object. |
FormBase::getRouteMatch | protected | function | Gets the route match. |
FormBase::logger | protected | function | Gets the logger for a specific channel. |
FormBase::resetConfigFactory | public | function | Resets the configuration factory. |
FormBase::setConfigFactory | public | function | Sets the config factory for this form. |
FormBase::setRequestStack | public | function | Sets the request stack object to use. |
FormBase::validateForm | public | function | Form validation handler. Overrides FormInterface::validateForm |
LinkGeneratorTrait::$linkGenerator | protected | property | The link generator. |
LinkGeneratorTrait::getLinkGenerator | protected | function | Returns the link generator. |
LinkGeneratorTrait::l Deprecated | protected | function | Renders a link to a route given a route name and its parameters. |
LinkGeneratorTrait::setLinkGenerator | public | function | Sets the link generator service. |
LoggerChannelTrait::$loggerFactory | protected | property | The logger channel factory service. |
LoggerChannelTrait::getLogger | protected | function | Gets the logger for a specific channel. |
LoggerChannelTrait::setLoggerFactory | public | function | Injects the logger channel factory. |
RedirectDestinationTrait::$redirectDestination | protected | property | The redirect destination service. |
RedirectDestinationTrait::getDestinationArray | protected | function | Prepares a 'destination' URL query parameter for use with \Drupal\Core\Url. |
RedirectDestinationTrait::getRedirectDestination | protected | function | Returns the redirect destination service. |
RedirectDestinationTrait::setRedirectDestination | public | function | Sets the redirect destination service. |
StringTranslationTrait::$stringTranslation | protected | property | The string translation service. |
StringTranslationTrait::formatPlural | protected | function | Formats a string containing a count of items. |
StringTranslationTrait::getNumberOfPlurals | protected | function | Returns the number of plurals supported by a given language. |
StringTranslationTrait::getStringTranslation | protected | function | Gets the string translation service. |
StringTranslationTrait::setStringTranslation | public | function | Sets the string translation service to use. |
StringTranslationTrait::t | protected | function | Translates a string to the current language or to a given language. |
UrlGeneratorTrait::$urlGenerator | protected | property | The url generator. |
UrlGeneratorTrait::getUrlGenerator | protected | function | Returns the URL generator service. |
UrlGeneratorTrait::redirect | protected | function | Returns a redirect response object for the specified route. |
UrlGeneratorTrait::setUrlGenerator | public | function | Sets the URL generator service. |
UrlGeneratorTrait::url Deprecated | protected | function | Generates a URL or path for a specific route based on the given parameters. |
Please login to continue.