Search for interface

  1. Search 7.x for interface
  2. Search 9.5.x for interface
  3. Search 8.9.x for interface
  4. Search 11.x for interface
  5. Other projects
Title Object type File name Summary
FormCacheInterface interface core/lib/Drupal/Core/Form/FormCacheInterface.php Provides an interface for the caching of a form and its form state.
FormCacheInterface.php file core/lib/Drupal/Core/Form/FormCacheInterface.php
FormCacheInterface::deleteCache function core/lib/Drupal/Core/Form/FormCacheInterface.php Deletes a form in the cache.
FormCacheInterface::getCache function core/lib/Drupal/Core/Form/FormCacheInterface.php Fetches a form from the cache.
FormCacheInterface::setCache function core/lib/Drupal/Core/Form/FormCacheInterface.php Stores a form in the cache.
FormElementInterface interface core/lib/Drupal/Core/Render/Element/FormElementInterface.php Provides an interface for form element plugins.
FormElementInterface.php file core/lib/Drupal/Core/Render/Element/FormElementInterface.php
FormElementInterface::valueCallback function core/lib/Drupal/Core/Render/Element/FormElementInterface.php Determines how user input is mapped to an element's #value property.
FormErrorHandlerInterface interface core/lib/Drupal/Core/Form/FormErrorHandlerInterface.php Provides an interface for handling form errors.
FormErrorHandlerInterface.php file core/lib/Drupal/Core/Form/FormErrorHandlerInterface.php
FormErrorHandlerInterface::handleFormErrors function core/lib/Drupal/Core/Form/FormErrorHandlerInterface.php Handles form errors after form validation.
FormInterface interface core/lib/Drupal/Core/Form/FormInterface.php Provides an interface for a Form.
FormInterface.php file core/lib/Drupal/Core/Form/FormInterface.php
FormInterface::buildForm function core/lib/Drupal/Core/Form/FormInterface.php Form constructor.
FormInterface::getFormId function core/lib/Drupal/Core/Form/FormInterface.php Returns a unique string identifying the form.
FormInterface::submitForm function core/lib/Drupal/Core/Form/FormInterface.php Form submission handler.
FormInterface::validateForm function core/lib/Drupal/Core/Form/FormInterface.php Form validation handler.
FormStateInterface interface core/lib/Drupal/Core/Form/FormStateInterface.php Provides an interface for an object containing the current state of a form.
FormStateInterface.php file core/lib/Drupal/Core/Form/FormStateInterface.php
FormStateInterface::addBuildInfo function core/lib/Drupal/Core/Form/FormStateInterface.php Adds a value to the build info.
FormStateInterface::addCleanValueKey function core/lib/Drupal/Core/Form/FormStateInterface.php Adds a key to the array of form values that will be cleaned.
FormStateInterface::addRebuildInfo function core/lib/Drupal/Core/Form/FormStateInterface.php Adds a value to the rebuild info.
FormStateInterface::cleanValues function core/lib/Drupal/Core/Form/FormStateInterface.php Removes internal Form API elements and buttons from submitted form values.
FormStateInterface::clearErrors function core/lib/Drupal/Core/Form/FormStateInterface.php Clears all errors against all form elements made by self::setErrorByName().
FormStateInterface::disableCache function core/lib/Drupal/Core/Form/FormStateInterface.php Prevents the form from being cached.
FormStateInterface::disableRedirect function core/lib/Drupal/Core/Form/FormStateInterface.php Prevents the form from redirecting.
FormStateInterface::get function core/lib/Drupal/Core/Form/FormStateInterface.php Gets the value for a property in the form state storage.
FormStateInterface::getAlwaysProcess function core/lib/Drupal/Core/Form/FormStateInterface.php Determines if this form should always be processed.
FormStateInterface::getBuildInfo function core/lib/Drupal/Core/Form/FormStateInterface.php Returns the build info for the form.
FormStateInterface::getButtons function core/lib/Drupal/Core/Form/FormStateInterface.php Returns the submit and button elements for the form.
FormStateInterface::getCacheableArray function core/lib/Drupal/Core/Form/FormStateInterface.php Returns an array representation of the cacheable portion of the form state.
FormStateInterface::getCleanValueKeys function core/lib/Drupal/Core/Form/FormStateInterface.php Gets the keys of the form values that will be cleaned.
FormStateInterface::getCompleteForm function core/lib/Drupal/Core/Form/FormStateInterface.php Returns a reference to the complete form array.
FormStateInterface::getError function core/lib/Drupal/Core/Form/FormStateInterface.php Returns the error message filed against the given form element.
FormStateInterface::getErrors function core/lib/Drupal/Core/Form/FormStateInterface.php Returns an associative array of all errors.
FormStateInterface::getFormObject function core/lib/Drupal/Core/Form/FormStateInterface.php Returns the form object that is responsible for building this form.
FormStateInterface::getGroups function core/lib/Drupal/Core/Form/FormStateInterface.php Returns references to details elements to render them within vertical tabs.
FormStateInterface::getIgnoreDestination function core/lib/Drupal/Core/Form/FormStateInterface.php Gets whether the redirect respects the destination query parameter.
FormStateInterface::getLimitValidationErrors function core/lib/Drupal/Core/Form/FormStateInterface.php Retrieves the limited validation error sections.
FormStateInterface::getRebuildInfo function core/lib/Drupal/Core/Form/FormStateInterface.php Gets the rebuild info.
FormStateInterface::getRedirect function core/lib/Drupal/Core/Form/FormStateInterface.php Gets the value to use for redirecting after the form has been executed.
FormStateInterface::getResponse function core/lib/Drupal/Core/Form/FormStateInterface.php Gets a response for this form.
FormStateInterface::getStorage function core/lib/Drupal/Core/Form/FormStateInterface.php Returns the entire set of arbitrary data.
FormStateInterface::getSubmitHandlers function core/lib/Drupal/Core/Form/FormStateInterface.php Gets the submit handlers.
FormStateInterface::getTemporary function core/lib/Drupal/Core/Form/FormStateInterface.php Gets temporary data.
FormStateInterface::getTemporaryValue function core/lib/Drupal/Core/Form/FormStateInterface.php Gets an arbitrary value from temporary storage.
FormStateInterface::getTriggeringElement function core/lib/Drupal/Core/Form/FormStateInterface.php Gets the form element that triggered submission.
FormStateInterface::getUserInput function core/lib/Drupal/Core/Form/FormStateInterface.php Returns the form values as they were submitted by the user.
FormStateInterface::getValidateHandlers function core/lib/Drupal/Core/Form/FormStateInterface.php Gets the validate handlers.
FormStateInterface::getValue function core/lib/Drupal/Core/Form/FormStateInterface.php Returns the submitted form value for a specific key.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.