120 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 - Test field access.
- CommentDefaultFormatter::create in core/
modules/ comment/ src/ Plugin/ Field/ FieldFormatter/ CommentDefaultFormatter.php - Creates an instance of the plugin.
- CommentDefaultFormatter::__construct in core/
modules/ comment/ src/ Plugin/ Field/ FieldFormatter/ CommentDefaultFormatter.php - Constructs a new CommentDefaultFormatter.
- CommentLinksTest::testCommentLinks in core/
modules/ comment/ tests/ src/ Functional/ CommentLinksTest.php - Tests that comment links are output and can be hidden.
- CommentManager::__construct in core/
modules/ comment/ src/ CommentManager.php - Construct the CommentManager object.
- 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.
- ComponentEntityDisplayBase::__construct in core/
modules/ migrate/ src/ Plugin/ migrate/ destination/ ComponentEntityDisplayBase.php - PerComponentEntityDisplay constructor.
- 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.
- 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.
- Entity::__construct in core/
modules/ views/ src/ Plugin/ views/ area/ Entity.php - Constructs a new Entity instance.
- EntityCacheTagsTestBase::createReferenceTestEntities in core/
modules/ system/ src/ Tests/ Entity/ EntityCacheTagsTestBase.php - Creates a referencing and a non-referencing entity for testing purposes.
- 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.
- EntityDisplayFormBase::__construct in core/
modules/ field_ui/ src/ Form/ EntityDisplayFormBase.php - Constructs a new EntityDisplayFormBase.
- 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().
- EntityManagerTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityManagerTest.php - 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.
- EntityRow::__construct in core/
modules/ views/ src/ Plugin/ views/ row/ EntityRow.php - Constructs a new EntityRow object.
- EntityViewBuilder::createInstance in core/
lib/ Drupal/ Core/ Entity/ EntityViewBuilder.php - Instantiates a new instance of this entity handler.
- EntityViewBuilder::__construct in core/
lib/ Drupal/ Core/ Entity/ EntityViewBuilder.php - Constructs a new EntityViewBuilder.
- 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.
- FieldStorageAddForm::__construct in core/
modules/ field_ui/ src/ Form/ FieldStorageAddForm.php - Constructs a new FieldStorageAddForm object.
- FieldUiLocalTask::create in core/
modules/ field_ui/ src/ Plugin/ Derivative/ FieldUiLocalTask.php - Creates a new class instance.
- FieldUiLocalTask::__construct in core/
modules/ field_ui/ src/ Plugin/ Derivative/ FieldUiLocalTask.php - Creates an FieldUiLocalTask object.
- FileFieldTestBase::attachFileField in core/
modules/ file/ src/ Tests/ FileFieldTestBase.php - Attaches a file field to an entity.
- 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.
- LinkFieldTest::testLinkFormatter in core/
modules/ link/ tests/ src/ Functional/ LinkFieldTest.php - Tests the default 'link' formatter.
- LinkFieldTest::testLinkSeparateFormatter in core/
modules/ link/ tests/ src/ Functional/ LinkFieldTest.php - Tests the 'link_separate' formatter.
- LinkFieldTest::testLinkTitle in core/
modules/ link/ tests/ src/ Functional/ LinkFieldTest.php - Tests the link title settings of a link field.
- LinkFieldTest::testURLValidation 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.
- 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.
- MigrateFieldWidgetSettingsTest::testWidgetSettings in core/
modules/ field/ tests/ src/ Kernel/ Migrate/ d6/ MigrateFieldWidgetSettingsTest.php - Test 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.
- Node::__construct in core/
modules/ node/ src/ Plugin/ views/ wizard/ Node.php - Node constructor.
- 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 - Test decimal field.
- NumberFieldTest::testNumberFloatField in core/
modules/ field/ tests/ src/ Functional/ Number/ NumberFieldTest.php - Test float field.
- NumberFieldTest::testNumberIntegerField in core/
modules/ field/ tests/ src/ Functional/ Number/ NumberFieldTest.php - Test 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.
- QuickEditController::__construct in core/
modules/ quickedit/ src/ QuickEditController.php - Constructs a new QuickEditController.
- QuickEditImageController::create in core/
modules/ image/ src/ Controller/ QuickEditImageController.php - Instantiates a new instance of this class.
- QuickEditImageController::__construct in core/
modules/ image/ src/ Controller/ QuickEditImageController.php - Constructs a new QuickEditImageController.
- 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 - Test 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.
- RenderedEntity::__construct in core/
modules/ views/ src/ Plugin/ views/ field/ RenderedEntity.php - Constructs a new RenderedEntity object.
- 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 - Test responsive image formatters on node display.
- RssPluginBase::create in core/
modules/ views/ src/ Plugin/ views/ row/ RssPluginBase.php - Creates an instance of the plugin.
- RssPluginBase::__construct in core/
modules/ views/ src/ Plugin/ views/ row/ RssPluginBase.php - Constructs a RssPluginBase object.
- 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 - TaxonomyImageTest::setUp in core/
modules/ taxonomy/ tests/ src/ Functional/ TaxonomyImageTest.php - TaxonomyTermViewTest::setUp in core/
modules/ taxonomy/ tests/ src/ Functional/ Views/ TaxonomyTermViewTest.php - 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/ src/ Tests/ TaxonomyTranslationTestTrait.php - Adds term reference field for the article content type.
- 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 - TextFieldTest::testRequiredLongTextWithFileUpload in core/
modules/ text/ tests/ src/ Functional/ TextFieldTest.php - Test 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.