public function DataLayerKernelTest::setupEmptyDataLayer in dataLayer 8
Setup empty datalayer.
4 calls to DataLayerKernelTest::setupEmptyDataLayer()
- DataLayerKernelTest::testDataLayerAddDoesNotOverwriteByDefault in tests/
src/ Kernel/ DataLayerKernelTest.php - Test DataLayer Add Does Not Overwrite By Default.
- DataLayerKernelTest::testDataLayerAddWillAddData in tests/
src/ Kernel/ DataLayerKernelTest.php - Test DataLayer Add Will Add Data.
- DataLayerKernelTest::testDataLayerAddWillOverwriteWithFlag in tests/
src/ Kernel/ DataLayerKernelTest.php - Test DataLayer Add Will Overwrite With Flag.
- DataLayerKernelTest::testDataLayerGetEntityDataReturnsEntityDataArray in tests/
src/ Kernel/ DataLayerKernelTest.php - Test DataLayer Get Entity Terms Returns Entity Data Array.
File
- tests/
src/ Kernel/ DataLayerKernelTest.php, line 217
Class
- DataLayerKernelTest
- Kernel test cases for datalayer module.
Namespace
Drupal\Tests\datalayer\KernelCode
public function setupEmptyDataLayer() {
$data =& drupal_static('datalayer_add', []);
}