Drupal 8  8.0.2
FileNormalizeTest Class Reference
Inheritance diagram for FileNormalizeTest:

Public Member Functions

 testNormalize ()

Static Public Attributes

static $modules = array('file')
- Static Public Attributes inherited from NormalizerTestBase
static $modules = ['entity_test', 'field', 'hal', 'language', 'rest', 'serialization', 'system', 'text', 'user', 'filter']

Protected Member Functions

 setUp ()
- Protected Member Functions inherited from NormalizerTestBase
 setUp ()

Additional Inherited Members

- Protected Attributes inherited from NormalizerTestBase
 $format = 'hal_json'
 $entityClass = 'Drupal\entity_test\Entity\EntityTest'

Detailed Description

Tests that file entities can be normalized in HAL.


Member Function Documentation

setUp ( )


References Drupal\entityManager(), Drupal\httpClient(), Drupal\moduleHandler(), and Drupal\service().

Here is the call graph for this function:

testNormalize ( )

Tests the normalize function.

References file_create_url(), and FILE_STATUS_PERMANENT.

Here is the call graph for this function:

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