Namespace
Drupal\subpathauto
File
-
src/SubpathautoServiceProvider.php
View source
<?php
namespace Drupal\subpathauto;
use Drupal\Core\DependencyInjection\ContainerBuilder;
use Drupal\Core\DependencyInjection\ServiceProviderBase;
use Drupal\Core\Update\UpdateKernel;
class SubpathautoServiceProvider extends ServiceProviderBase {
public function alter(ContainerBuilder $container) {
if ($container->get('kernel') instanceof UpdateKernel && $container->hasDefinition('path_processor_subpathauto')) {
$container->getDefinition('path_processor_subpathauto')
->clearTag('path_processor_inbound')
->clearTag('path_processor_outbound');
}
}
}
Classes