Drupal 8  8.0.2
ViewsDataTest Class Reference
Inheritance diagram for ViewsDataTest:

Public Member Functions

 testOptionsFieldViewsData ()

Static Public Attributes

static $modules = ['options', 'options_test', 'entity_test', 'views']
- Static Public Attributes inherited from OptionsTestBase
static $modules = ['options', 'options_test_views', 'node', 'user', 'field']
- Static Public Attributes inherited from ViewKernelTestBase
static $modules = array('system', 'views', 'views_test_config', 'views_test_data', 'user')

Protected Member Functions

 setUp ()
- Protected Member Functions inherited from OptionsTestBase
 setUp ()
 mockStandardInstall ()
- Protected Member Functions inherited from ViewKernelTestBase
 setUp ($import_test_views=TRUE)
 setUpFixtures ()
 orderResultSet ($result_set, $column, $reverse=FALSE)
 executeView ($view, array $args=array())
 schemaDefinition ()
 viewsData ()
 dataSet ()

Protected Attributes

- Protected Attributes inherited from OptionsTestBase
 $nodes = []
 $fieldValues = []

Detailed Description

Test to ensure views data is properly created for the Options module.


Member Function Documentation

setUp ( )


testOptionsFieldViewsData ( )

Tests the option module's implementation of hook_field_views_data().

References Drupal\service().

Here is the call graph for this function:

Field Documentation

$modules = ['options', 'options_test', 'entity_test', 'views']


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