Drupal 8  8.0.2
RawStringFormatterTest Class Reference
Inheritance diagram for RawStringFormatterTest:

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

 $entityType
 
 $bundle
 
 $fieldName
 
 $display
 

Detailed Description

Tests the raw string formatter

field

Member Function Documentation

renderEntityFields ( FieldableEntityInterface  $entity,
EntityViewDisplayInterface  $display 
)
protected

Renders fields of a given entity with a given display.

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

References EntityViewDisplayInterface\build().

Here is the call graph for this function:

setUp ( )
protected

{}

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: