| EntityReferenceSelection::$id |
property |
core/lib/Drupal/Core/Entity/Annotation/EntityReferenceSelection.php |
The plugin ID. |
| EntityReferenceSelection::$label |
property |
core/lib/Drupal/Core/Entity/Annotation/EntityReferenceSelection.php |
The human-readable name of the selection plugin. |
| EntityReferenceSelection::$weight |
property |
core/lib/Drupal/Core/Entity/Annotation/EntityReferenceSelection.php |
The weight of the plugin in its group. |
| EntityReferenceSelection::__construct |
function |
core/lib/Drupal/Core/Entity/Attribute/EntityReferenceSelection.php |
Constructs an EntityReferenceSelection attribute. |
| EntityReferenceSelectionAccessTest |
class |
core/modules/system/tests/src/Kernel/Entity/EntityReferenceSelection/EntityReferenceSelectionAccessTest.php |
Tests for the base handlers provided by Entity Reference. |
| EntityReferenceSelectionAccessTest.php |
file |
core/modules/system/tests/src/Kernel/Entity/EntityReferenceSelection/EntityReferenceSelectionAccessTest.php |
|
| EntityReferenceSelectionAccessTest::$modules |
property |
core/modules/system/tests/src/Kernel/Entity/EntityReferenceSelection/EntityReferenceSelectionAccessTest.php |
Modules to install. |
| EntityReferenceSelectionAccessTest::assertReferenceable |
function |
core/modules/system/tests/src/Kernel/Entity/EntityReferenceSelection/EntityReferenceSelectionAccessTest.php |
Checks that a selection plugin returns the expected results. |
| EntityReferenceSelectionAccessTest::setUp |
function |
core/modules/system/tests/src/Kernel/Entity/EntityReferenceSelection/EntityReferenceSelectionAccessTest.php |
|
| EntityReferenceSelectionAccessTest::testCommentHandler |
function |
core/modules/system/tests/src/Kernel/Entity/EntityReferenceSelection/EntityReferenceSelectionAccessTest.php |
Tests the comment-specific overrides of the entity handler. |
| EntityReferenceSelectionAccessTest::testMediaHandler |
function |
core/modules/system/tests/src/Kernel/Entity/EntityReferenceSelection/EntityReferenceSelectionAccessTest.php |
Tests the selection handler for the media entity type. |
| EntityReferenceSelectionAccessTest::testNodeHandler |
function |
core/modules/system/tests/src/Kernel/Entity/EntityReferenceSelection/EntityReferenceSelectionAccessTest.php |
Tests the node-specific overrides of the entity handler. |
| EntityReferenceSelectionAccessTest::testTermHandler |
function |
core/modules/system/tests/src/Kernel/Entity/EntityReferenceSelection/EntityReferenceSelectionAccessTest.php |
Tests the term-specific overrides of the selection handler. |
| EntityReferenceSelectionAccessTest::testUserHandler |
function |
core/modules/system/tests/src/Kernel/Entity/EntityReferenceSelection/EntityReferenceSelectionAccessTest.php |
Tests the user-specific overrides of the entity handler. |
| EntityReferenceSelectionReferenceableTest |
class |
core/modules/system/tests/src/Kernel/Entity/EntityReferenceSelectionReferenceableTest.php |
Tests entity reference selection plugins. |
| EntityReferenceSelectionReferenceableTest.php |
file |
core/modules/system/tests/src/Kernel/Entity/EntityReferenceSelectionReferenceableTest.php |
|
| EntityReferenceSelectionReferenceableTest::$bundle |
property |
core/modules/system/tests/src/Kernel/Entity/EntityReferenceSelectionReferenceableTest.php |
Bundle of 'entity_test_no_label' entity. |
| EntityReferenceSelectionReferenceableTest::$labels |
property |
core/modules/system/tests/src/Kernel/Entity/EntityReferenceSelectionReferenceableTest.php |
Labels to be tested. |
| EntityReferenceSelectionReferenceableTest::$modules |
property |
core/modules/system/tests/src/Kernel/Entity/EntityReferenceSelectionReferenceableTest.php |
Modules to install. |
| EntityReferenceSelectionReferenceableTest::$selectionHandler |
property |
core/modules/system/tests/src/Kernel/Entity/EntityReferenceSelectionReferenceableTest.php |
The selection handler. |
| EntityReferenceSelectionReferenceableTest::providerTestCases |
function |
core/modules/system/tests/src/Kernel/Entity/EntityReferenceSelectionReferenceableTest.php |
Provides test cases for ::testReferenceablesWithNoLabelKey() test. |
| EntityReferenceSelectionReferenceableTest::setUp |
function |
core/modules/system/tests/src/Kernel/Entity/EntityReferenceSelectionReferenceableTest.php |
|
| EntityReferenceSelectionReferenceableTest::testReferenceablesWithNoLabelKey |
function |
core/modules/system/tests/src/Kernel/Entity/EntityReferenceSelectionReferenceableTest.php |
Tests referenceable entities with no target entity type 'label' key. |
| EntityReferenceSelectionSortTest |
class |
core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceSelection/EntityReferenceSelectionSortTest.php |
Tests sorting referenced items. |
| EntityReferenceSelectionSortTest.php |
file |
core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceSelection/EntityReferenceSelectionSortTest.php |
|
| EntityReferenceSelectionSortTest::$modules |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceSelection/EntityReferenceSelectionSortTest.php |
Modules to install. |
| EntityReferenceSelectionSortTest::setUp |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceSelection/EntityReferenceSelectionSortTest.php |
|
| EntityReferenceSelectionSortTest::testSort |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceSelection/EntityReferenceSelectionSortTest.php |
Assert sorting by field and property. |
| EntityReferenceWidgetTest::testFocusNotAppliedWithoutSelectionChange |
function |
core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php |
Tests that disabled media items don't capture focus on page load. |
| ExposedFormTest::testRememberSelected |
function |
core/modules/views/tests/src/Functional/Plugin/ExposedFormTest.php |
Tests the "Remember the last selection" functionality. |
| FieldConfigValidationTest::testEntityReferenceSelectionHandlerIsValidated |
function |
core/modules/field/tests/src/Kernel/Entity/FieldConfigValidationTest.php |
Tests that entity reference selection handler plugin IDs are validated. |
| FieldStorageAddController::getFieldSelectionLinks |
function |
core/modules/field_ui/src/Controller/FieldStorageAddController.php |
Builds the field selection links. |
| FieldTestHooks::entityReferenceSelectionAlter |
function |
core/modules/field/tests/modules/field_test/src/Hook/FieldTestHooks.php |
Implements hook_entity_reference_selection_alter(). |
| FileSelection |
class |
core/modules/file/src/Plugin/EntityReferenceSelection/FileSelection.php |
Provides specific access control for the file entity type. |
| FileSelection.php |
file |
core/modules/file/src/Plugin/EntityReferenceSelection/FileSelection.php |
|
| FileSelection::buildEntityQuery |
function |
core/modules/file/src/Plugin/EntityReferenceSelection/FileSelection.php |
Builds an EntityQuery to get referenceable entities. |
| FileSelection::createNewEntity |
function |
core/modules/file/src/Plugin/EntityReferenceSelection/FileSelection.php |
Creates a new entity object that can be used as a valid reference. |
| FileSelection::validateReferenceableNewEntities |
function |
core/modules/file/src/Plugin/EntityReferenceSelection/FileSelection.php |
Validates which newly created entities can be referenced. |
| FileSelectionTest |
class |
core/modules/file/tests/src/Kernel/Plugin/EntityReference/FileSelectionTest.php |
Tests file selection plugin. |
| FileSelectionTest.php |
file |
core/modules/file/tests/src/Kernel/Plugin/EntityReference/FileSelectionTest.php |
|
| FileSelectionTest::$modules |
property |
core/modules/file/tests/src/Kernel/Plugin/EntityReference/FileSelectionTest.php |
Modules to install. |
| FileSelectionTest::$selectionHandler |
property |
core/modules/file/tests/src/Kernel/Plugin/EntityReference/FileSelectionTest.php |
The selection handler. |
| FileSelectionTest::setUp |
function |
core/modules/file/tests/src/Kernel/Plugin/EntityReference/FileSelectionTest.php |
|
| FileSelectionTest::testCanNotReferToTemporaryFiles |
function |
core/modules/file/tests/src/Kernel/Plugin/EntityReference/FileSelectionTest.php |
Tests that entity reference should avoid referring to temporary files. |
| FileSelectionTest::testCanReferToPermanentFiles |
function |
core/modules/file/tests/src/Kernel/Plugin/EntityReference/FileSelectionTest.php |
Tests that entity reference should refer permanent files. |
| FilterEntityReferenceTest::testAddConfigEntityReferenceFieldWithDefaultSelectionHandler |
function |
core/modules/views_ui/tests/src/FunctionalJavascript/FilterEntityReferenceTest.php |
Tests end to end creation of a Config Entity Reference filter. |
| FilterEntityReferenceTest::testAddEntityReferenceFieldWithDefaultSelectionHandler |
function |
core/modules/views_ui/tests/src/FunctionalJavascript/FilterEntityReferenceTest.php |
Tests end to end creation of a Content Entity Reference filter. |
| FilterEntityReferenceTest::testViewEntityReferenceAsSelectList |
function |
core/modules/views/tests/src/Kernel/Handler/FilterEntityReferenceTest.php |
Tests that results are successfully filtered by the select list widget. |
| FilterFormTest::assertNoSelect |
function |
core/modules/filter/tests/src/Functional/FilterFormTest.php |
Makes sure that no select element with the given ID exists on the page. |
| FilterFormTest::assertRequiredSelectAndOptions |
function |
core/modules/filter/tests/src/Functional/FilterFormTest.php |
Asserts that there is a select element with the given ID that is required. |