Drupal 8  8.0.2
StringFormatterTest Class Reference
Inheritance diagram for StringFormatterTest:

Public Member Functions

 testStringFormatter ()

Static Public Attributes

static $modules = array('field', 'text', 'entity_test', 'system', 'filter', 'user')

Protected Member Functions

 setUp ()
 renderEntityFields (FieldableEntityInterface $entity, EntityViewDisplayInterface $display)

Protected Attributes


Detailed Description

Tests the creation of text fields.


Member Function Documentation

renderEntityFields ( FieldableEntityInterface  $entity,
EntityViewDisplayInterface  $display 

Renders fields of a given entity with a given display.

\Drupal\Core\Entity\FieldableEntityInterface$entityThe entity object with attached fields to render.
\Drupal\Core\Entity\Display\EntityViewDisplayInterface$displayThe display to render the fields in.
string The rendered entity fields.

References EntityViewDisplayInterface\build().

Here is the call graph for this function:

setUp ( )


References Entity\create(), Drupal\service(), and Unicode\strtolower().

Here is the call graph for this function:

testStringFormatter ( )

Tests string formatter output.

References Entity\create().

Here is the call graph for this function:

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