Drupal 8  8.0.2
CommentUserNameTest Class Reference
Inheritance diagram for CommentUserNameTest:

Public Member Functions

 testUsername ()

Static Public Attributes

static $modules = ['user', 'comment', 'entity_test']
- Static Public Attributes inherited from ViewKernelTestBase
static $modules = array('system', 'views', 'views_test_config', 'views_test_data', 'user')

Protected Member Functions

 setUp ($import_test_views=TRUE)
- 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


Detailed Description

Tests comment user name field


Member Function Documentation

setUp (   $import_test_views = TRUE)


References RoleInterface\ANONYMOUS_ID, Entity\create(), Drupal\entityManager(), and Entity\load().

Here is the call graph for this function:

testUsername ( )

Test the username formatter.

References Entity\create(), Views\getView(), and Drupal\service().

Here is the call graph for this function:

Field Documentation

$modules = ['user', 'comment', 'entity_test']


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