108 string references to entity_display.repository

BlockContentBlock::create in core/modules/block_content/src/Plugin/Block/BlockContentBlock.php
Creates an instance of the plugin.
block_content_add_body_field in core/modules/block_content/block_content.module
Adds the default body field to a custom block type.
BooleanFieldTest::testBooleanField in core/modules/field/tests/src/Functional/Boolean/BooleanFieldTest.php
Tests boolean field.
BooleanFieldTest::testFormAccess in core/modules/field/tests/src/Functional/Boolean/BooleanFieldTest.php
Tests field access.
CommentDefaultFormatter::create in core/modules/comment/src/Plugin/Field/FieldFormatter/CommentDefaultFormatter.php
Creates an instance of the plugin.
CommentLinksTest::testCommentLinks in core/modules/comment/tests/src/Functional/CommentLinksTest.php
Tests that comment links are output and can be hidden.
CommentNonNodeTest::postComment in core/modules/comment/tests/src/Functional/CommentNonNodeTest.php
Posts a comment.
CommentTestBase::postComment in core/modules/comment/tests/src/Functional/CommentTestBase.php
Posts a comment.
CommentTestTrait::addDefaultCommentField in core/modules/comment/src/Tests/CommentTestTrait.php
Adds the default comment field to an entity.
CommentViewBuilder::createInstance in core/modules/comment/src/CommentViewBuilder.php
Instantiates a new instance of this entity handler.
ComponentEntityDisplayBase::create in core/modules/migrate/src/Plugin/migrate/destination/ComponentEntityDisplayBase.php
Creates an instance of the plugin.
ConfigExportImportUITest::testExportImport in core/modules/config/tests/src/Functional/ConfigExportImportUITest.php
Tests a simple site export import case.
ContentTranslationTestBase::setupTestFields in core/modules/content_translation/tests/src/Functional/ContentTranslationTestBase.php
Creates the test fields.
DateRangeFieldTest::testAlldayRangeField in core/modules/datetime_range/tests/src/Functional/DateRangeFieldTest.php
Tests all-day field.
DateRangeFieldTest::testDatelistWidget in core/modules/datetime_range/tests/src/Functional/DateRangeFieldTest.php
Tests Date Range List Widget functionality.
DateRangeFieldTest::testDateRangeField in core/modules/datetime_range/tests/src/Functional/DateRangeFieldTest.php
Tests date field functionality.
DateRangeFieldTest::testDatetimeRangeField in core/modules/datetime_range/tests/src/Functional/DateRangeFieldTest.php
Tests date and time field.
DateTimeFieldTest::testDateField in core/modules/datetime/tests/src/Functional/DateTimeFieldTest.php
Tests date field functionality.
DateTimeFieldTest::testDatelistWidget in core/modules/datetime/tests/src/Functional/DateTimeFieldTest.php
Tests Date List Widget functionality.
DateTimeFieldTest::testDatetimeField in core/modules/datetime/tests/src/Functional/DateTimeFieldTest.php
Tests date and time field.
DisplayApiTest::setUp in core/modules/field/tests/src/Kernel/DisplayApiTest.php
Set the default field storage backend for fields created during tests.
EditorIntegrationTest::testGetUntransformedTextCommand in core/modules/quickedit/tests/src/Kernel/EditorIntegrationTest.php
Tests GetUntransformedTextCommand AJAX command.
EditorMediaDialog::create in core/modules/media/src/Form/EditorMediaDialog.php
Instantiates a new instance of this class.
EmailFieldTest::testEmailField in core/modules/field/tests/src/Functional/Email/EmailFieldTest.php
Tests email field.
EmbeddedFormWidgetTest::setUp in core/modules/media_library/tests/src/FunctionalJavascript/EmbeddedFormWidgetTest.php
Entity::create in core/modules/views/src/Plugin/views/area/Entity.php
Creates an instance of the plugin.
EntityCacheTagsTestBase::createReferenceTestEntities in core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php
Creates a referencing and a non-referencing entity for testing purposes.
EntityCacheTagsTestBase::testReferencedEntity in core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php
Tests cache tags presence and invalidation of the entity when referenced.
EntityDisplayFormBaseTest::testCopyFormValuesToEntity in core/tests/Drupal/KernelTests/Core/Entity/EntityDisplayFormBaseTest.php
@covers ::copyFormValuesToEntity
EntityDisplayRebuilder::create in core/modules/field/src/EntityDisplayRebuilder.php
Instantiates a new instance of this class.
EntityDisplayRepositoryTest::setUp in core/tests/Drupal/KernelTests/Core/Entity/EntityDisplayRepositoryTest.php
EntityDisplayTest::testDeleteBundle in core/modules/field_ui/tests/src/Kernel/EntityDisplayTest.php
Tests deleting a bundle.
EntityDisplayTest::testDeleteField in core/modules/field_ui/tests/src/Kernel/EntityDisplayTest.php
Tests deleting field.
EntityDisplayTest::testEntityGetDisplay in core/modules/field_ui/tests/src/Kernel/EntityDisplayTest.php
@covers \Drupal\Core\Entity\EntityDisplayRepository::getViewDisplay
EntityDisplayTest::testOnDependencyRemoval in core/modules/field_ui/tests/src/Kernel/EntityDisplayTest.php
Tests \Drupal\Core\Entity\EntityDisplayBase::onDependencyRemoval().
EntityFormDisplayEditForm::create in core/modules/field_ui/src/Form/EntityFormDisplayEditForm.php
Instantiates a new instance of this class.
EntityFormDisplayTest::testDeleteField in core/modules/field_ui/tests/src/Kernel/EntityFormDisplayTest.php
Tests deleting field.
EntityFormDisplayTest::testEntityGetFromDisplay in core/modules/field_ui/tests/src/Kernel/EntityFormDisplayTest.php
@covers \Drupal\Core\Entity\EntityDisplayRepository::getFormDisplay
EntityFormDisplayTest::testOnDependencyRemoval in core/modules/field_ui/tests/src/Kernel/EntityFormDisplayTest.php
Tests \Drupal\Core\Entity\EntityDisplayBase::onDependencyRemoval().
EntityReferenceAutocompleteWidgetTest::testEntityReferenceAutocompleteWidget in core/tests/Drupal/FunctionalJavascriptTests/EntityReference/EntityReferenceAutocompleteWidgetTest.php
Tests that the default autocomplete widget return the correct results.
EntityReferenceAutoCreateTest::setUp in core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAutoCreateTest.php
EntityReferenceEntityFormatter::create in core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceEntityFormatter.php
Creates an instance of the plugin.
EntityReferenceFieldAttributesTest::setUp in core/modules/rdf/tests/src/Functional/EntityReferenceFieldAttributesTest.php
EntityReferenceFieldTranslatedReferenceViewTest::setUpEntityReferenceField in core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldTranslatedReferenceViewTest.php
Adds term reference field for the article content type.
EntityReferenceFileUploadTest::setUp in core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFileUploadTest.php
EntityReferenceIntegrationTest::testSupportedEntityTypesAndWidgets in core/modules/field/tests/src/Functional/EntityReference/EntityReferenceIntegrationTest.php
Tests the entity reference field with all its supported field widgets.
EntityRow::create in core/modules/views/src/Plugin/views/row/EntityRow.php
Creates an instance of the plugin.
EntityViewBuilder::createInstance in core/lib/Drupal/Core/Entity/EntityViewBuilder.php
Instantiates a new instance of this entity handler.
EntityViewDisplayEditForm::create in core/modules/field_ui/src/Form/EntityViewDisplayEditForm.php
Instantiates a new instance of this class.
FeedViewBuilder::createInstance in core/modules/aggregator/src/FeedViewBuilder.php
Instantiates a new instance of this entity handler.
FieldAttachOtherTest::testEntityFormDisplayBuildForm in core/modules/field/tests/src/Kernel/FieldAttachOtherTest.php
Tests \Drupal\Core\Entity\Display\EntityFormDisplayInterface::buildForm().
FieldLayoutEntityFormDisplayEditForm::create in core/modules/field_layout/src/Form/FieldLayoutEntityFormDisplayEditForm.php
Instantiates a new instance of this class.
FieldLayoutEntityViewDisplayEditForm::create in core/modules/field_layout/src/Form/FieldLayoutEntityViewDisplayEditForm.php
Instantiates a new instance of this class.
FieldStorageAddForm::create in core/modules/field_ui/src/Form/FieldStorageAddForm.php
Instantiates a new instance of this class.
FieldUiLocalTask::create in core/modules/field_ui/src/Plugin/Derivative/FieldUiLocalTask.php
Creates a new class instance.
FormTest::testFieldFormAccess in core/modules/field/tests/src/Functional/FormTest.php
Tests fields with no 'edit' access.
FormTest::testFieldFormMultivalueWithRequiredRadio in core/modules/field/tests/src/Functional/FormTest.php
Tests widget handling of multiple required radios.
ImageFieldCreationTrait::createImageField in core/modules/image/tests/src/Kernel/ImageFieldCreationTrait.php
Create a new image field.
ImageFieldDefaultImagesTest::testDefaultImages in core/modules/image/tests/src/Functional/ImageFieldDefaultImagesTest.php
Tests CRUD for fields and field storages with default images.
InlineBlock::create in core/modules/layout_builder/src/Plugin/Block/InlineBlock.php
Creates an instance of the plugin.
LayoutBuilderDefaultValuesTest::addTextFields in core/modules/layout_builder/tests/src/Functional/LayoutBuilderDefaultValuesTest.php
Helper function to add string fields.
LinkFieldTest::doTestLinkFormatter in core/modules/link/tests/src/Functional/LinkFieldTest.php
Tests the default 'link' formatter.
LinkFieldTest::doTestLinkSeparateFormatter in core/modules/link/tests/src/Functional/LinkFieldTest.php
Tests the 'link_separate' formatter.
LinkFieldTest::doTestLinkTitle in core/modules/link/tests/src/Functional/LinkFieldTest.php
Tests the link title settings of a link field.
LinkFieldTest::doTestURLValidation in core/modules/link/tests/src/Functional/LinkFieldTest.php
Tests link field URL validation.
ManageFieldsFunctionalTest::testDefaultValue in core/modules/field_ui/tests/src/Functional/ManageFieldsFunctionalTest.php
Tests that default value is correctly validated and saved.
ManageFieldsFunctionalTest::testPreconfiguredFields in core/modules/field_ui/tests/src/Functional/ManageFieldsFunctionalTest.php
Tests the "preconfigured field" functionality.
Media::create in core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Media.php
Creates an instance of the plugin.
MediaEmbed::create in core/modules/media/src/Plugin/Filter/MediaEmbed.php
Creates an instance of the plugin.
MediaSourceTestBase::createMediaTypeField in core/modules/media/tests/src/FunctionalJavascript/MediaSourceTestBase.php
Creates storage and field instance, attached to a given media type.
MediaSourceTestBase::hideMediaTypeFieldWidget in core/modules/media/tests/src/FunctionalJavascript/MediaSourceTestBase.php
Hides a widget in the default form display config.
MediaTypeForm::create in core/modules/media/src/MediaTypeForm.php
Instantiates a new instance of this class.
MigrateEntityContentBaseTest::testBundleFallbackForStub in core/modules/migrate/tests/src/Kernel/MigrateEntityContentBaseTest.php
Tests bundle is properly provided for stubs without bundle support.
MigrateFieldWidgetSettingsTest::testWidgetSettings in core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldWidgetSettingsTest.php
Tests that migrated view modes can be loaded using D8 API's.
NestedFormTest::testNestedFieldForm in core/modules/field/tests/src/Functional/NestedFormTest.php
Tests Field API form integration within a subform.
Node::create in core/modules/node/src/Plugin/views/wizard/Node.php
Creates an instance of the plugin.
NodeAccessFieldTest::setUp in core/modules/node/tests/src/Functional/NodeAccessFieldTest.php
NodePreviewForm::create in core/modules/node/src/Form/NodePreviewForm.php
Instantiates a new instance of this class.
node_add_body_field in core/modules/node/node.module
Adds the default body field to a node type.
NumberFieldTest::testNumberDecimalField in core/modules/field/tests/src/Functional/Number/NumberFieldTest.php
Tests decimal field.
NumberFieldTest::testNumberFloatField in core/modules/field/tests/src/Functional/Number/NumberFieldTest.php
Tests float field.
NumberFieldTest::testNumberIntegerField in core/modules/field/tests/src/Functional/Number/NumberFieldTest.php
Tests integer field.
OptionsWidgetsTest::testEmptyValue in core/modules/options/tests/src/Functional/OptionsWidgetsTest.php
Tests the 'options_select' and 'options_button' widget for empty value.
PagePreviewTest::setUp in core/modules/node/tests/src/Functional/PagePreviewTest.php
QuickEditController::create in core/modules/quickedit/src/QuickEditController.php
Instantiates a new instance of this class.
QuickEditImageController::create in core/modules/quickedit/src/Controller/QuickEditImageController.php
Instantiates a new instance of this class.
QuickEditImageController::create in core/modules/image/src/Controller/QuickEditImageController.php
Instantiates a new instance of this class.
QuickEditImageControllerTest::testQuickEditImageControllerDeprecation in core/modules/image/tests/src/Kernel/QuickEditImageControllerTest.php
Tests class \Drupal\image\Controller\QuickEditImageController deprecation.
QuickEditTestBase::createFieldWithStorage in core/modules/quickedit/tests/src/Kernel/QuickEditTestBase.php
Creates a field.
ReEnableModuleFieldTest::testReEnabledField in core/modules/field/tests/src/Functional/ReEnableModuleFieldTest.php
Tests the behavior of a field module after being disabled and re-enabled.
RenderedEntity::create in core/modules/views/src/Plugin/views/field/RenderedEntity.php
Creates an instance of the plugin.
ResponsiveImageFieldDisplayTest::assertResponsiveImageFieldFormattersLink in core/modules/responsive_image/tests/src/Functional/ResponsiveImageFieldDisplayTest.php
Tests responsive image formatters linked to the file or node.
ResponsiveImageFieldDisplayTest::doTestResponsiveImageFieldFormatters in core/modules/responsive_image/tests/src/Functional/ResponsiveImageFieldDisplayTest.php
Tests responsive image formatters on node display.
RssPluginBase::create in core/modules/views/src/Plugin/views/row/RssPluginBase.php
Creates an instance of the plugin.
RssTest::setUp in core/modules/taxonomy/tests/src/Functional/RssTest.php
StringFieldTest::_testTextfieldWidgets in core/modules/field/tests/src/Functional/String/StringFieldTest.php
Helper function for testTextfieldWidgets().
TaggedWithTest::setUp in core/modules/views/tests/src/Functional/Wizard/TaggedWithTest.php
Sets up the test.
TaxonomyTermViewTest::setUp in core/modules/taxonomy/tests/src/Functional/Views/TaxonomyTermViewTest.php
Sets up the test.
TaxonomyTestBase::mockStandardInstall in core/modules/taxonomy/tests/src/Functional/Views/TaxonomyTestBase.php
Provides a workaround for the inability to use the standard profile.
TaxonomyTranslationTestTrait::setUpTermReferenceField in core/modules/taxonomy/tests/src/Functional/TaxonomyTranslationTestTrait.php
Adds term reference field for the article content type.
TelephoneFieldTest::setUp in core/modules/telephone/tests/src/Functional/TelephoneFieldTest.php
TermIndexTest::setUp in core/modules/taxonomy/tests/src/Functional/TermIndexTest.php
TermTest::setUp in core/modules/taxonomy/tests/src/Functional/TermTest.php
TextareaWithSummaryTest::testTextSummaryRequiredBehavior in core/modules/text/tests/src/FunctionalJavascript/TextareaWithSummaryTest.php
Tests that the textSummary behavior is not run for required summary fields.
TextFieldTest::testRequiredLongTextWithFileUpload in core/modules/text/tests/src/Functional/TextFieldTest.php
Tests required long text with file upload.
TextFieldTest::_testTextfieldWidgetsFormatted in core/modules/text/tests/src/Functional/TextFieldTest.php
Helper function for testTextfieldWidgetsFormatted().
TokenReplaceTest::setUp in core/modules/taxonomy/tests/src/Functional/TokenReplaceTest.php
UserRegistrationTest::testRegistrationWithUserFields in core/modules/user/tests/src/Functional/UserRegistrationTest.php
Tests Field API fields on user registration forms.

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