Drupal 8  8.0.2
FieldImportDeleteUninstallTest Class Reference
Inheritance diagram for FieldImportDeleteUninstallTest:

Public Member Functions

 testImportDeleteUninstall ()
 
 testImportAlreadyDeletedUninstall ()
 

Static Public Attributes

static $modules = array('telephone')
 
- 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')
 

Additional Inherited Members

- Protected Attributes inherited from FieldUnitTestBase
 $fieldTestData
 

Detailed Description

Delete field storages and fields during config synchronization and uninstall module that provides the field type.

field

See Also
field_config_import_steps_alter()

Member Function Documentation

testImportAlreadyDeletedUninstall ( )

Tests purging already deleted field storages and fields during a config import.

References Drupal\config(), Drupal\moduleHandler(), and Drupal\state().

Here is the call graph for this function:

testImportDeleteUninstall ( )

Tests deleting field storages and fields as part of config import.

References Drupal\config(), Drupal\entityManager(), Drupal\moduleHandler(), and Drupal\state().

Here is the call graph for this function:


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