|
Tripal
|


Public Member Functions | |
| testTripalLayoutEntityGetters (string $display_context, array $entity_defn, array $bundle_defn, array $expectations) | |
Static Public Member Functions | |
| static | provideLayoutDisplayEntitySenarios () |
Protected Member Functions | |
| setUp () | |
Protected Member Functions inherited from Drupal\Tests\tripal\Kernel\TripalTestKernelBase | |
| prepareEnvironment (array $functionality) | |
Static Protected Attributes | |
| static | $modules = ['system', 'field', 'user', 'tripal', 'tripal_layout'] |
Static Protected Attributes inherited from Drupal\Tests\tripal\Kernel\TripalTestKernelBase | |
| static | $modules = ['tripal'] |
Additional Inherited Members | |
Protected Attributes inherited from Drupal\Tests\tripal\Kernel\TripalTestKernelBase | |
| $messenger = NULL | |
| $logger = NULL | |
| $fileretriever = NULL | |
| $publish_manager = NULL | |
Tests the TripalLayoutDefaultView and TripalLayoutDefaultForm entities.
@group TripalLayoutDisplay @group TripalLayoutDisplayEntity
|
static |
Provides senarios for layout display.
This provides scenarios to test the TripalLayoutDefaultView and TripalLayoutDefaultForm entities.
|
protected |
{{}}
Reimplemented from Drupal\Tests\tripal\Kernel\TripalTestKernelBase.
| Drupal\Tests\tripal_layout\Kernel\Entity\TripalLayoutEntitiesTest::testTripalLayoutEntityGetters | ( | string | $display_context, |
| array | $entity_defn, | ||
| array | $bundle_defn, | ||
| array | $expectations | ||
| ) |
Tests getters for a test TripalLayoutEntity.
| string | $display_context | The type of display entity we are testing. One of 'view' or 'form'. |
| array | $entity_defn | Details about the TripalLayoutEntity we are testing. Expected keys include: class, id, yaml_file. |
| array | $bundle_defn | Details about the TripalEntityType whose display we want to test. Expected keys include: id. |
| array | $expectations | An array of expectations for this test. Keys include:
|
@dataProvider provideLayoutDisplayEntitySenarios
|
staticprotected |
{}