protected function Container::process in Little helpers 7.2
Additional processing for a single spec (ie. add defaults).
Parameters
array $spec: The spec to add default to.
Return value
array The modified spec.
1 call to Container::process()
- Container::processInfo in src/
Services/ Container.php - Turn hook info into specs.
File
- src/
Services/ Container.php, line 126
Class
- Container
- Dependency injection container.
Namespace
Drupal\little_helpers\ServicesCode
protected function process(array $spec) {
return $spec + $this->defaults;
}