Drupal 8  8.0.2
OptionsFieldTest Class Reference
Inheritance diagram for OptionsFieldTest:

Public Member Functions

 testUpdateAllowedValues ()
 

Static Public Attributes

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

Additional Inherited Members

- Protected Member Functions inherited from OptionsFieldUnitTestBase
 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 inherited from OptionsFieldUnitTestBase
 $fieldName = 'test_options'
 
 $fieldStorageDefinition
 
 $fieldStorage
 
 $field
 
- Protected Attributes inherited from FieldUnitTestBase
 $fieldTestData
 

Detailed Description

Tests for the 'Options' field types.

options

Member Function Documentation

testUpdateAllowedValues ( )

Test that allowed values can be updated.

References Drupal\service().

Here is the call graph for this function:


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