Tripal
Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
Drupal\Tests\tripal\Kernel\Services\TripalEntityTypeCollection\TripalEntityTypeCollectionGetCollectionsTest Class Reference
Inheritance diagram for Drupal\Tests\tripal\Kernel\Services\TripalEntityTypeCollection\TripalEntityTypeCollectionGetCollectionsTest:
Inheritance graph
[legend]
Collaboration diagram for Drupal\Tests\tripal\Kernel\Services\TripalEntityTypeCollection\TripalEntityTypeCollectionGetCollectionsTest:
Collaboration graph
[legend]

Public Member Functions

 testTripalEntityTypeCollection_getTypeCollections ()
 

Protected Member Functions

 setUp ()
 

Protected Attributes

array $config_array
 

Static Protected Attributes

static $modules = ['tripal']
 

Detailed Description

Focused on testing the create() and createContentType() methods.

@group Tripal @group Tripal Content @group TripalEntityTypeCollection

Member Function Documentation

◆ setUp()

Drupal\Tests\tripal\Kernel\Services\TripalEntityTypeCollection\TripalEntityTypeCollectionGetCollectionsTest::setUp ( )
protected

{}

◆ testTripalEntityTypeCollection_getTypeCollections()

Drupal\Tests\tripal\Kernel\Services\TripalEntityTypeCollection\TripalEntityTypeCollectionGetCollectionsTest::testTripalEntityTypeCollection_getTypeCollections ( )

Tests the TripalEntityTypeCollection::getTypeCollections() method.

Member Data Documentation

◆ $config_array

array Drupal\Tests\tripal\Kernel\Services\TripalEntityTypeCollection\TripalEntityTypeCollectionGetCollectionsTest::$config_array
protected
Initial value:
= [
'tripal.tripalentitytype_collection.monsters' => [
'id' => 'monsters',
'label' => 'Monsters',
'description' => 'Types of monsters including those who live in the water, on land, and under beds.'
],
'tripal.tripalentitytype_collection.fairies' => [
'id' => 'fairies',
'label' => 'Fairies',
'description' => 'Types of fairies including those from both the Seelie and Unseelie Courts.'
],
]

A made-up set of details for some collection types to be used in testing getTypeCollections. These will be written to storage in the setUp().

◆ $modules

Drupal\Tests\tripal\Kernel\Services\TripalEntityTypeCollection\TripalEntityTypeCollectionGetCollectionsTest::$modules = ['tripal']
staticprotected

{}


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