Removes an alias.
@api
Parameters
string $alias The alias to remove:
File
- drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerBuilder.php, line 527
Class
- ContainerBuilder
- ContainerBuilder is a DI container that provides an API to easily describe services.
Namespace
Symfony\Component\DependencyInjection
Code
public function removeAlias($alias) {
unset($this->aliases[strtolower($alias)]);
}