Drupal 8  8.0.2
FileItemTest Class Reference
Inheritance diagram for FileItemTest:

Public Member Functions

 testFileItem ()
 

Static Public Attributes

static $modules = array('file')
 
- Static Public Attributes inherited from FieldUnitTestBase
static $modules = ['user', 'system', 'field', 'text', 'entity_test', 'field_test']
 

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from FieldUnitTestBase
 setUp ()
 
 createFieldWithStorage ($suffix= '', $entity_type= 'entity_test', $bundle=NULL)
 
 entitySaveReload (EntityInterface $entity)
 
 entityValidateAndSave (EntityInterface $entity)
 
 _generateTestFieldValues ($cardinality)
 
 assertFieldValues (EntityInterface $entity, $field_name, $expected_values, $langcode=LanguageInterface::LANGCODE_NOT_SPECIFIED, $column= 'value')
 

Protected Attributes

 $file
 
 $directory
 
- Protected Attributes inherited from FieldUnitTestBase
 $fieldTestData
 

Detailed Description

Tests using entity fields of the file field type.

file

Member Function Documentation

testFileItem ( )

Tests using entity fields of the file field type.

References FieldUnitTestBase\entityValidateAndSave(), file_create_url(), file_uri_target(), Entity\load(), and Drupal\service().

Here is the call graph for this function:


The documentation for this class was generated from the following file: