private function OtherEventVariablesTest::createVariablesArray in Hook Event Dispatcher 8
Create the variables array.
Return value
array Variables array.
11 calls to OtherEventVariablesTest::createVariablesArray()
- OtherEventVariablesTest::testBlockEvent in tests/
src/ Unit/ Preprocess/ OtherEventVariablesTest.php - Test a BlockPreprocessEvent.
- OtherEventVariablesTest::testFieldEvent in tests/
src/ Unit/ Preprocess/ OtherEventVariablesTest.php - Test a FieldPreprocessEvent.
- OtherEventVariablesTest::testFormEvent in tests/
src/ Unit/ Preprocess/ OtherEventVariablesTest.php - Test FormPreprocessEvent.
- OtherEventVariablesTest::testHtmlEvent in tests/
src/ Unit/ Preprocess/ OtherEventVariablesTest.php - Test a HtmlPreprocessEvent.
- OtherEventVariablesTest::testImageEvent in tests/
src/ Unit/ Preprocess/ OtherEventVariablesTest.php - Test a ImagePreprocessEvent.
File
- tests/
src/ Unit/ Preprocess/ OtherEventVariablesTest.php, line 289
Class
- OtherEventVariablesTest
- Class OtherEventVariablesTest.
Namespace
Drupal\Tests\hook_event_dispatcher\Unit\PreprocessCode
private function createVariablesArray() {
return [
'test' => 'success',
'reference' => 'first',
];
}