You are here

public function DefaultController::skinr_test_hook_dynamic_loading in Skinr 8.2

1 string reference to 'DefaultController::skinr_test_hook_dynamic_loading'
skinr_test.routing.yml in tests/modules/skinr_test/skinr_test.routing.yml
tests/modules/skinr_test/skinr_test.routing.yml

File

tests/modules/skinr_test/src/Controller/DefaultController.php, line 23
Contains \Drupal\skinr_test\Controller\DefaultController.

Class

DefaultController
Default controller for the skinr_test module.

Namespace

Drupal\skinr_test\Controller

Code

public function skinr_test_hook_dynamic_loading() {
  if (skinr_hook('skinr_test', 'skinr_group_info') && function_exists('skinr_test_skinr_group_info')) {
    return array(
      '#markup' => 'success!',
    );
  }
  return array(
    '#markup' => 'failed!',
  );
}