You are here

function acsf_get_registry in Acquia Cloud Site Factory Connector 8

Same name in this branch
  1. 8 acsf.module \acsf_get_registry()
  2. 8 tests/AcsfEventsTest.php \acsf_get_registry()
Same name and namespace in other branches
  1. 8.2 acsf.module \acsf_get_registry()
  2. 8.2 tests/AcsfEventsTest.php \acsf_get_registry()

Retrieves the registry of class files.

4 calls to acsf_get_registry()
AcsfEvent::create in src/Event/AcsfEvent.php
Creates an event using ACSF defaults.
UnitTest::testAcsfEventExecute in tests/AcsfEventsTest.php
Tests that events get run as expected.
UnitTest::testAcsfEventHandlerIncompatibleType in tests/AcsfEventsTest.php
Tests that incompatible handler types may not be used.
UnitTest::testAcsfEventInterrupt in tests/AcsfEventsTest.php
Tests that the events system handles interrupts correctly.

File

./acsf.module, line 49
Acquia Cloud Site Factory Connector.

Code

function acsf_get_registry() {
  return \Drupal::service('acsf.variable_storage')
    ->get('acsf_registry', []);
}