Clears all tags for a given name.
Parameters
string $name The tag name:
Return value
Definition
File
- drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Definition.php, line 469
Class
- Definition
- Definition represents a service definition.
Namespace
Symfony\Component\DependencyInjection
Code
public function clearTag($name) {
if (isset($this->tags[$name])) {
unset($this->tags[$name]);
}
return $this;
}