public function EntityEmbedFilterTest::providerMissingEntityIndicator in Entity Embed 8
Data provider for testMissingEntityIndicator().
File
- tests/
src/ Kernel/ EntityEmbedFilterTest.php, line 272
Class
- EntityEmbedFilterTest
- @coversDefaultClass \Drupal\entity_embed\Plugin\Filter\EntityEmbedFilter @group entity_embed
Namespace
Drupal\Tests\entity_embed\KernelCode
public function providerMissingEntityIndicator() {
return [
'node; valid UUID but for a deleted entity' => [
'node',
static::EMBEDDED_ENTITY_UUID,
'Missing content item.',
],
'node; invalid UUID' => [
'node',
'invalidUUID',
'Missing content item.',
],
'user; invalid UUID' => [
'user',
'invalidUUID',
'Missing user.',
],
];
}