FieldStorageAddForm

Provides a form for the "field storage" add page.

Hierarchy

File

core/modules/field_ui/src/Form/FieldStorageAddForm.php, line 19

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
FieldStorageAddForm::$bundle protected property The entity bundle.
FieldStorageAddForm::$configFactory protected property The configuration factory. Overrides FormBase::$configFactory
FieldStorageAddForm::$entityManager protected property The entity manager.
FieldStorageAddForm::$entityTypeId protected property The name of the entity type.
FieldStorageAddForm::$fieldTypePluginManager protected property The field type plugin manager.
FieldStorageAddForm::$queryFactory public property The query factory to create entity queries.
FieldStorageAddForm::buildForm public function Form constructor. Overrides FormInterface::buildForm
FieldStorageAddForm::configureEntityFormDisplay protected function Configures the newly created field for the default view and form modes.
FieldStorageAddForm::configureEntityViewDisplay protected function Configures the newly created field for the default view and form modes.
FieldStorageAddForm::create public static function Instantiates a new instance of this class. Overrides FormBase::create
FieldStorageAddForm::fieldNameExists public function Checks if a field machine name is taken.
FieldStorageAddForm::getExistingFieldLabels protected function Gets the human-readable labels for the given field storage names.
FieldStorageAddForm::getExistingFieldStorageOptions protected function Returns an array of existing field storages that can be added to a bundle.
FieldStorageAddForm::getFormId public function Returns a unique string identifying the form. Overrides FormInterface::getFormId
FieldStorageAddForm::submitForm public function Form submission handler. Overrides FormInterface::submitForm
FieldStorageAddForm::validateAddExisting protected function Validates the 're-use existing field' case.
FieldStorageAddForm::validateAddNew protected function Validates the 'add new field' case.
FieldStorageAddForm::validateForm public function Form validation handler. Overrides FormBase::validateForm
FieldStorageAddForm::__construct public function Constructs a new FieldStorageAddForm object.
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::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.
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.
doc_Drupal
2016-10-29 09:12:06
Comments
Leave a Comment

Please login to continue.