Search for content

  1. Search 7.x for content
  2. Search 9.5.x for content
  3. Search 8.9.x for content
  4. Search 11.x for content
  5. Other projects
Title Object type File name Summary
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…
ContentEntityDenormalizer class core/modules/jsonapi/src/Normalizer/ContentEntityDenormalizer.php Converts a JSON:API array structure into a Drupal entity object.
ContentEntityDenormalizer.php file core/modules/jsonapi/src/Normalizer/ContentEntityDenormalizer.php
ContentEntityDenormalizer::getSupportedTypes function core/modules/jsonapi/src/Normalizer/ContentEntityDenormalizer.php
ContentEntityDenormalizer::hasCacheableSupportsMethod function core/modules/jsonapi/src/Normalizer/ContentEntityDenormalizer.php
ContentEntityDenormalizer::prepareInput function core/modules/jsonapi/src/Normalizer/ContentEntityDenormalizer.php Prepares the input data to create the entity.
ContentEntityDeriver class core/modules/migrate_drupal/src/Plugin/migrate/source/ContentEntityDeriver.php Deriver for content entity source plugins.
ContentEntityDeriver.php file core/modules/migrate_drupal/src/Plugin/migrate/source/ContentEntityDeriver.php
ContentEntityDeriver::$entityTypeManager property core/modules/migrate_drupal/src/Plugin/migrate/source/ContentEntityDeriver.php The entity type manager.
ContentEntityDeriver::create function core/modules/migrate_drupal/src/Plugin/migrate/source/ContentEntityDeriver.php Creates a new class instance.
ContentEntityDeriver::getDerivativeDefinitions function core/modules/migrate_drupal/src/Plugin/migrate/source/ContentEntityDeriver.php Gets the definition of all derivatives of a base plugin.
ContentEntityDeriver::__construct function core/modules/migrate_drupal/src/Plugin/migrate/source/ContentEntityDeriver.php Constructs a new ContentEntityDeriver.
ContentEntityFieldMethodInvocationOrderTest class core/tests/Drupal/KernelTests/Core/Entity/ContentEntityFieldMethodInvocationOrderTest.php Tests correct field method invocation order.
ContentEntityFieldMethodInvocationOrderTest.php file core/tests/Drupal/KernelTests/Core/Entity/ContentEntityFieldMethodInvocationOrderTest.php
ContentEntityFieldMethodInvocationOrderTest::$entityTestFieldMethodsStorage property core/tests/Drupal/KernelTests/Core/Entity/ContentEntityFieldMethodInvocationOrderTest.php The EntityTest entity type storage.
ContentEntityFieldMethodInvocationOrderTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/ContentEntityFieldMethodInvocationOrderTest.php Modules to install.
ContentEntityFieldMethodInvocationOrderTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityFieldMethodInvocationOrderTest.php
ContentEntityFieldMethodInvocationOrderTest::testFieldMethodInvocationOrder function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityFieldMethodInvocationOrderTest.php Tests correct field method invocation order.
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.
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.

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