Whether this definition has a tag with the given name
@api
Parameters
string $name:
Return value
Boolean
File
- drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Definition.php, line 457
Class
- Definition
- Definition represents a service definition.
Namespace
Symfony\Component\DependencyInjection
Code
public function hasTag($name) {
return isset($this->tags[$name]);
}