function hook_little_helpers_services in Little helpers 7.2
Get a list of service specifications.
Return value
array Service specifications keyed by the service name.
See also
\Drupal\little_helpers\Services\Spec
1 function implements hook_little_helpers_services()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- little_helpers_test_little_helpers_services in little_helpers_test/
little_helpers_test.module - Implements hook_little_helpers_services().
File
- ./
little_helpers.api.php, line 16 - Document hooks invoked by the little_helpers module.
Code
function hook_little_helpers_services() {
$info['a'] = '\\SplFixedArray';
$info['b'] = [
'class' => '\\SplQueue',
'calls' => [
[
'push',
[
1,
],
],
[
'push',
[
'@other_service',
],
],
],
];
return $info;
}