You are here

function coffee_test_coffee_commands in Coffee 8

Implements hook_coffee_commands().

File

tests/modules/coffee_test/coffee_test.module, line 13
A test module for test the coffee module.

Code

function coffee_test_coffee_commands() {
  $commands[] = [
    'value' => Url::fromRoute('<front>')
      ->toString(),
    'label' => t('Coffee hook fired!'),
    'command' => ':test',
  ];
  return $commands;
}