public function TestSelection::validateReferenceableEntities in Drupal 8
Validates which existing entities can be referenced.
Return value
array An array of valid entity IDs.
Overrides SelectionInterface::validateReferenceableEntities
File
- core/
tests/ Drupal/ Tests/ Core/ EntityReferenceSelection/ EntityReferenceSelectionUnitTest.php, line 220
Class
- TestSelection
- Provides a testing plugin.
Namespace
Drupal\Tests\Core\EntityReferenceSelectionCode
public function validateReferenceableEntities(array $ids) {
}