Removes an alias.
@api
Parameters
string $alias The alias to remove:
File
- drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerBuilder.php, line 710
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->aliasDefinitions[strtolower($alias)]);
}