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 10.3.x for interface
  5. Other projects
Title Object type File name Summary
FormatterInterface::view function core/lib/Drupal/Core/Field/FormatterInterface.php Builds a renderable array for a fully themed field.
FormatterInterface::viewElements function core/lib/Drupal/Core/Field/FormatterInterface.php Builds a renderable array for a field value.
FormBuilderInterface interface core/lib/Drupal/Core/Form/FormBuilderInterface.php Provides an interface for form building and processing.
FormBuilderInterface.php file core/lib/Drupal/Core/Form/FormBuilderInterface.php
FormBuilderInterface::AJAX_FORM_REQUEST constant core/lib/Drupal/Core/Form/FormBuilderInterface.php Request key for AJAX forms that submit to the form's original route.
FormBuilderInterface::buildForm function core/lib/Drupal/Core/Form/FormBuilderInterface.php Builds and processes a form for a given form ID.
FormBuilderInterface::doBuildForm function core/lib/Drupal/Core/Form/FormBuilderInterface.php Builds and processes all elements in the structured form array.
FormBuilderInterface::getForm function core/lib/Drupal/Core/Form/FormBuilderInterface.php Gets a renderable form array.
FormBuilderInterface::getFormId function core/lib/Drupal/Core/Form/FormBuilderInterface.php Determines the ID of a form.
FormBuilderInterface::prepareForm function core/lib/Drupal/Core/Form/FormBuilderInterface.php Prepares a structured form array.
FormBuilderInterface::processForm function core/lib/Drupal/Core/Form/FormBuilderInterface.php Processes a form submission.
FormBuilderInterface::rebuildForm function core/lib/Drupal/Core/Form/FormBuilderInterface.php Constructs a new $form from the information in $form_state.
FormBuilderInterface::retrieveForm function core/lib/Drupal/Core/Form/FormBuilderInterface.php Retrieves the structured array that defines a given form.
FormBuilderInterface::submitForm function core/lib/Drupal/Core/Form/FormBuilderInterface.php Retrieves, populates, and processes a form.
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.

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