Search for form

  1. Search 7.x for form
  2. Search 9.5.x for form
  3. Search 8.9.x for form
  4. Search 10.3.x for form
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Form class core/lib/Drupal/Core/Render/Element/Form.php Provides a render element for a form.
Form class core/modules/system/tests/modules/router_test_directory/src/Form.php Form to test _form routing.

All search results

Title Object type File name Summary
ContainerForm::form function core/modules/forum/src/Form/ContainerForm.php Gets the actual form array to be built.
ContainerTest::$machineFormat property core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Whether the container uses the machine-optimized format or not.
ContentEntityBaseUnitTest::testIsTranslatableForMonolingual function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @covers ::isTranslatable[[api-linebreak]]
ContentEntityConfirmFormBase class core/lib/Drupal/Core/Entity/ContentEntityConfirmFormBase.php Provides a generic base class for an entity-based confirmation form.
ContentEntityConfirmFormBase.php file core/lib/Drupal/Core/Entity/ContentEntityConfirmFormBase.php
ContentEntityConfirmFormBase::actions function core/lib/Drupal/Core/Entity/ContentEntityConfirmFormBase.php Returns an array of supported actions for the current entity form.
ContentEntityConfirmFormBase::buildForm function core/lib/Drupal/Core/Entity/ContentEntityConfirmFormBase.php Form constructor.
ContentEntityConfirmFormBase::delete function core/lib/Drupal/Core/Entity/ContentEntityConfirmFormBase.php The delete() method is not used in ContentEntityConfirmFormBase. This
overrides the default implementation that redirects to the delete-form
confirmation form.
ContentEntityConfirmFormBase::form function core/lib/Drupal/Core/Entity/ContentEntityConfirmFormBase.php Gets the actual form array to be built.
ContentEntityConfirmFormBase::getBaseFormId function core/lib/Drupal/Core/Entity/ContentEntityConfirmFormBase.php Returns a string identifying the base form.
ContentEntityConfirmFormBase::getCancelText function core/lib/Drupal/Core/Entity/ContentEntityConfirmFormBase.php Returns a caption for the link which cancels the action.
ContentEntityConfirmFormBase::getConfirmText function core/lib/Drupal/Core/Entity/ContentEntityConfirmFormBase.php Returns a caption for the button that confirms the action.
ContentEntityConfirmFormBase::getDescription function core/lib/Drupal/Core/Entity/ContentEntityConfirmFormBase.php Returns additional text to display as a description.
ContentEntityConfirmFormBase::getFormName function core/lib/Drupal/Core/Entity/ContentEntityConfirmFormBase.php Returns the internal name used to refer to the confirmation item.
ContentEntityConfirmFormBase::save function core/lib/Drupal/Core/Entity/ContentEntityConfirmFormBase.php The save() method is not used in ContentEntityConfirmFormBase. This
overrides the default implementation that saves the entity.
ContentEntityConfirmFormBase::validateForm function core/lib/Drupal/Core/Entity/ContentEntityConfirmFormBase.php Button-level validation handlers are highly discouraged for entity forms,
as they will prevent entity validation from running. If the entity is going
to be saved during the form submission, this method should be manually
invoked from the button-level…
ContentEntityDeleteForm class core/lib/Drupal/Core/Entity/ContentEntityDeleteForm.php Provides a generic base class for a content entity deletion form.
ContentEntityDeleteForm.php file core/lib/Drupal/Core/Entity/ContentEntityDeleteForm.php
ContentEntityDeleteForm::buildForm function core/lib/Drupal/Core/Entity/ContentEntityDeleteForm.php Form constructor.
ContentEntityDeleteForm::getCancelUrl function core/lib/Drupal/Core/Entity/ContentEntityDeleteForm.php Returns the route to go to if the user cancels the action.
ContentEntityDeleteForm::getDeletionMessage function core/lib/Drupal/Core/Entity/ContentEntityDeleteForm.php
ContentEntityDeleteForm::getQuestion function core/lib/Drupal/Core/Entity/ContentEntityDeleteForm.php Returns the question to ask the user.
ContentEntityDeleteForm::logDeletionMessage function core/lib/Drupal/Core/Entity/ContentEntityDeleteForm.php
ContentEntityDeleteForm::submitForm function core/lib/Drupal/Core/Entity/ContentEntityDeleteForm.php 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…
ContentEntityForm class core/lib/Drupal/Core/Entity/ContentEntityForm.php Entity form variant for content entity types.
ContentEntityForm.php file core/lib/Drupal/Core/Entity/ContentEntityForm.php
ContentEntityForm::$entity property core/lib/Drupal/Core/Entity/ContentEntityForm.php The entity being used by this form.
ContentEntityForm::$entityRepository property core/lib/Drupal/Core/Entity/ContentEntityForm.php The entity repository service.
ContentEntityForm::$entityTypeBundleInfo property core/lib/Drupal/Core/Entity/ContentEntityForm.php The entity type bundle info service.
ContentEntityForm::$time property core/lib/Drupal/Core/Entity/ContentEntityForm.php The time service.
ContentEntityForm::addRevisionableFormFields function core/lib/Drupal/Core/Entity/ContentEntityForm.php Add revision form fields if the entity enabled the UI.
ContentEntityForm::buildEntity function core/lib/Drupal/Core/Entity/ContentEntityForm.php Builds an updated entity object based upon the submitted form values.
ContentEntityForm::copyFormValuesToEntity function core/lib/Drupal/Core/Entity/ContentEntityForm.php Copies top-level form values to entity properties.
ContentEntityForm::create function core/lib/Drupal/Core/Entity/ContentEntityForm.php Instantiates a new instance of this class.
ContentEntityForm::flagViolations function core/lib/Drupal/Core/Entity/ContentEntityForm.php Flags violations for the current form.
ContentEntityForm::form function core/lib/Drupal/Core/Entity/ContentEntityForm.php Gets the actual form array to be built.
ContentEntityForm::getBundleEntity function core/lib/Drupal/Core/Entity/ContentEntityForm.php Returns the bundle entity of the entity, or NULL if there is none.
ContentEntityForm::getEditedFieldNames function core/lib/Drupal/Core/Entity/ContentEntityForm.php Gets the names of all fields edited in the form.
ContentEntityForm::getFormDisplay function core/lib/Drupal/Core/Entity/ContentEntityForm.php Gets the form display.
ContentEntityForm::getFormLangcode function core/lib/Drupal/Core/Entity/ContentEntityForm.php Gets the code identifying the active form language.
ContentEntityForm::getNewRevisionDefault function core/lib/Drupal/Core/Entity/ContentEntityForm.php Should new revisions created on default.
ContentEntityForm::init function core/lib/Drupal/Core/Entity/ContentEntityForm.php Initializes the form state and the entity before the first form build.
ContentEntityForm::initFormLangcodes function core/lib/Drupal/Core/Entity/ContentEntityForm.php Initializes form language code values.
ContentEntityForm::isDefaultFormLangcode function core/lib/Drupal/Core/Entity/ContentEntityForm.php Checks whether the current form language matches the entity one.
ContentEntityForm::prepareEntity function core/lib/Drupal/Core/Entity/ContentEntityForm.php Prepares the entity object before the form is built first.
ContentEntityForm::setFormDisplay function core/lib/Drupal/Core/Entity/ContentEntityForm.php Sets the form display.
ContentEntityForm::showRevisionUi function core/lib/Drupal/Core/Entity/ContentEntityForm.php Checks whether the revision form fields should be added to the form.
ContentEntityForm::submitForm function core/lib/Drupal/Core/Entity/ContentEntityForm.php 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…
ContentEntityForm::updateChangedTime function core/lib/Drupal/Core/Entity/ContentEntityForm.php Updates the changed time of the entity.
ContentEntityForm::updateFormLangcode function core/lib/Drupal/Core/Entity/ContentEntityForm.php Updates the form language to reflect any change to the entity language.

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