protected static property EmbeddedEntityTest::$filesData in Entity Share 8.3
An array of data to generate physical files.
Type: array
File
- modules/
entity_share_client/ tests/ src/ Functional/ EmbeddedEntityTest.php, line 40
Class
- EmbeddedEntityTest
- Functional test class for embedded entities in RTE fields.
Namespace
Drupal\Tests\entity_share_client\FunctionalCode
protected static $filesData = [
'file_document' => [
'filename' => 'sample.pdf',
'filemime' => 'application/pdf',
'uri' => 'public://sample.pdf',
'file_content_callback' => 'getMediaEntityReferenceTestFiles',
],
'file_image' => [
'filename' => 'image-test.jpg',
'filemime' => 'image/jpeg',
'uri' => 'public://image-test.jpg',
],
];