Search for content
- Search 7.x for content
- Search 8.9.x for content
- Search 10.3.x for content
- Search 11.x for content
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
ContentEntityForm::getFormLangcode | function | core/ |
Gets the code identifying the active form language. |
ContentEntityForm::getNewRevisionDefault | function | core/ |
Should new revisions created on default. |
ContentEntityForm::init | function | core/ |
Initializes the form state and the entity before the first form build. |
ContentEntityForm::initFormLangcodes | function | core/ |
Initializes form language code values. |
ContentEntityForm::isDefaultFormLangcode | function | core/ |
Checks whether the current form language matches the entity one. |
ContentEntityForm::prepareEntity | function | core/ |
Prepares the entity object before the form is built first. |
ContentEntityForm::setFormDisplay | function | core/ |
Sets the form display. |
ContentEntityForm::showRevisionUi | function | core/ |
Checks whether the revision form fields should be added to the form. |
ContentEntityForm::submitForm | function | core/ |
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/ |
Updates the changed time of the entity. |
ContentEntityForm::updateFormLangcode | function | core/ |
Updates the form language to reflect any change to the entity language. |
ContentEntityForm::validateForm | function | core/ |
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/ |
Constructs a ContentEntityForm object. |
ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest | class | core/ |
Tests the correct mapping of user input on the correct field delta elements. |
ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest.php | file | core/ |
|
ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest::$entityTypeId | property | core/ |
The ID of the type of the entity under test. |
ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest::$fieldName | property | core/ |
The field name with multiple properties being test with the entity type. |
ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest::$modules | property | core/ |
Modules to enable. |
ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest::setUp | function | core/ |
|
ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest::testCorrectUserInputMappingOnComplexFields | function | core/ |
Tests the correct user input mapping on complex fields. |
ContentEntityFormFieldValidationFilteringTest | class | core/ |
Tests field validation filtering on content entity forms. |
ContentEntityFormFieldValidationFilteringTest.php | file | core/ |
|
ContentEntityFormFieldValidationFilteringTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
ContentEntityFormFieldValidationFilteringTest::$entityTypeId | property | core/ |
The ID of the type of the entity under test. |
ContentEntityFormFieldValidationFilteringTest::$fieldNameFile | property | core/ |
The name of the file field being tested with the entity type. |
ContentEntityFormFieldValidationFilteringTest::$fieldNameMultiple | property | core/ |
The multi-valued field name being tested with the entity type. |
ContentEntityFormFieldValidationFilteringTest::$fieldNameSingle | property | core/ |
The single-valued field name being tested with the entity type. |
ContentEntityFormFieldValidationFilteringTest::$modules | property | core/ |
Modules to enable. |
ContentEntityFormFieldValidationFilteringTest::setUp | function | core/ |
|
ContentEntityFormFieldValidationFilteringTest::testFieldWidgetsWithLimitedValidationErrors | function | core/ |
Tests field widgets with #limit_validation_errors. |
ContentEntityFormInterface | interface | core/ |
Defines a common interface for content entity form classes. |
ContentEntityFormInterface.php | file | core/ |
|
ContentEntityFormInterface::getFormDisplay | function | core/ |
Gets the form display. |
ContentEntityFormInterface::getFormLangcode | function | core/ |
Gets the code identifying the active form language. |
ContentEntityFormInterface::isDefaultFormLangcode | function | core/ |
Checks whether the current form language matches the entity one. |
ContentEntityFormInterface::setFormDisplay | function | core/ |
Sets the form display. |
ContentEntityFormInterface::validateForm | function | core/ |
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 ContentEntityBase::hasTranslationChanges(). |
ContentEntityHasChangesTest.php | file | core/ |
|
ContentEntityHasChangesTest::$bundle | property | core/ |
Bundle of entity. |
ContentEntityHasChangesTest::$modules | property | core/ |
Modules to enable. |
ContentEntityHasChangesTest::setUp | function | core/ |
|
ContentEntityHasChangesTest::testHasTranslationChanges | function | core/ |
Tests the correct functionality of the hasTranslationChanges() function. |
ContentEntityInterface | interface | core/ |
Defines a common interface for all content entity objects. |
ContentEntityInterface.php | file | core/ |
|
ContentEntityNonRevisionableFieldTest | class | core/ |
Tests non-revisionable fields on revisionable (and translatable) entities. |
ContentEntityNonRevisionableFieldTest.php | file | core/ |
|
ContentEntityNonRevisionableFieldTest::$entityDefinitionUpdateManager | property | core/ |
The entity definition update manager. |
ContentEntityNonRevisionableFieldTest::$entityFieldManager | property | core/ |
The entity field manager. |
Pagination
- Previous page
- Page 19
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.