Search for content

  1. Search 7.x for content
  2. Search 8.9.x for content
  3. Search 10.3.x for content
  4. Search 11.x for content
  5. Other projects
Title Object type File name Summary
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.
ContentEntityForm::validateForm function core/lib/Drupal/Core/Entity/ContentEntityForm.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…
ContentEntityForm::__construct function core/lib/Drupal/Core/Entity/ContentEntityForm.php Constructs a ContentEntityForm object.
ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest class core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest.php Tests the correct mapping of user input on the correct field delta elements.
ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest.php file core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest.php
ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest.php The theme to install as the default for testing.
ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest::$entityTypeId property core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest.php The ID of the type of the entity under test.
ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest::$fieldName property core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest.php The field name with multiple properties being test with the entity type.
ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest::$modules property core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest.php Modules to enable.
ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest::setUp function core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest.php
ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest::testCorrectUserInputMappingOnComplexFields function core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest.php Tests the correct user input mapping on complex fields.
ContentEntityFormFieldValidationFilteringTest class core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormFieldValidationFilteringTest.php Tests field validation filtering on content entity forms.
ContentEntityFormFieldValidationFilteringTest.php file core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormFieldValidationFilteringTest.php
ContentEntityFormFieldValidationFilteringTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormFieldValidationFilteringTest.php The theme to install as the default for testing.
ContentEntityFormFieldValidationFilteringTest::$entityTypeId property core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormFieldValidationFilteringTest.php The ID of the type of the entity under test.
ContentEntityFormFieldValidationFilteringTest::$fieldNameFile property core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormFieldValidationFilteringTest.php The name of the file field being tested with the entity type.
ContentEntityFormFieldValidationFilteringTest::$fieldNameMultiple property core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormFieldValidationFilteringTest.php The multi-valued field name being tested with the entity type.
ContentEntityFormFieldValidationFilteringTest::$fieldNameSingle property core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormFieldValidationFilteringTest.php The single-valued field name being tested with the entity type.
ContentEntityFormFieldValidationFilteringTest::$modules property core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormFieldValidationFilteringTest.php Modules to enable.
ContentEntityFormFieldValidationFilteringTest::setUp function core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormFieldValidationFilteringTest.php
ContentEntityFormFieldValidationFilteringTest::testFieldWidgetsWithLimitedValidationErrors function core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormFieldValidationFilteringTest.php Tests field widgets with #limit_validation_errors.
ContentEntityFormInterface interface core/lib/Drupal/Core/Entity/ContentEntityFormInterface.php Defines a common interface for content entity form classes.
ContentEntityFormInterface.php file core/lib/Drupal/Core/Entity/ContentEntityFormInterface.php
ContentEntityFormInterface::getFormDisplay function core/lib/Drupal/Core/Entity/ContentEntityFormInterface.php Gets the form display.
ContentEntityFormInterface::getFormLangcode function core/lib/Drupal/Core/Entity/ContentEntityFormInterface.php Gets the code identifying the active form language.
ContentEntityFormInterface::isDefaultFormLangcode function core/lib/Drupal/Core/Entity/ContentEntityFormInterface.php Checks whether the current form language matches the entity one.
ContentEntityFormInterface::setFormDisplay function core/lib/Drupal/Core/Entity/ContentEntityFormInterface.php Sets the form display.
ContentEntityFormInterface::validateForm function core/lib/Drupal/Core/Entity/ContentEntityFormInterface.php Note that extending classes should not override this method to add entity
validation logic, but define further validation constraints using the
entity validation API and/or provide a new validation constraint if
necessary. This is the only way to…
ContentEntityHasChangesTest class core/tests/Drupal/KernelTests/Core/Entity/ContentEntityHasChangesTest.php Tests ContentEntityBase::hasTranslationChanges().
ContentEntityHasChangesTest.php file core/tests/Drupal/KernelTests/Core/Entity/ContentEntityHasChangesTest.php
ContentEntityHasChangesTest::$bundle property core/tests/Drupal/KernelTests/Core/Entity/ContentEntityHasChangesTest.php Bundle of entity.
ContentEntityHasChangesTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/ContentEntityHasChangesTest.php Modules to enable.
ContentEntityHasChangesTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityHasChangesTest.php
ContentEntityHasChangesTest::testHasTranslationChanges function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityHasChangesTest.php Tests the correct functionality of the hasTranslationChanges() function.
ContentEntityInterface interface core/lib/Drupal/Core/Entity/ContentEntityInterface.php Defines a common interface for all content entity objects.
ContentEntityInterface.php file core/lib/Drupal/Core/Entity/ContentEntityInterface.php
ContentEntityNonRevisionableFieldTest class core/tests/Drupal/KernelTests/Core/Entity/ContentEntityNonRevisionableFieldTest.php Tests non-revisionable fields on revisionable (and translatable) entities.
ContentEntityNonRevisionableFieldTest.php file core/tests/Drupal/KernelTests/Core/Entity/ContentEntityNonRevisionableFieldTest.php
ContentEntityNonRevisionableFieldTest::$entityDefinitionUpdateManager property core/tests/Drupal/KernelTests/Core/Entity/ContentEntityNonRevisionableFieldTest.php The entity definition update manager.
ContentEntityNonRevisionableFieldTest::$entityFieldManager property core/tests/Drupal/KernelTests/Core/Entity/ContentEntityNonRevisionableFieldTest.php The entity field manager.

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