You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
488 B
21 lines
488 B
<?php |
|
|
|
namespace Drupal\islandora; |
|
|
|
use Drupal\Core\DependencyInjection\ContainerBuilder; |
|
use Drupal\Core\DependencyInjection\ServiceProviderBase; |
|
|
|
/** |
|
* Modifies the language manager service. |
|
*/ |
|
class IslandoraServiceProvider extends ServiceProviderBase { |
|
|
|
/** |
|
* {@inheritdoc} |
|
*/ |
|
public function alter(ContainerBuilder $container) { |
|
$definition = $container->getDefinition('context.manager'); |
|
$definition->setClass('Drupal\islandora\IslandoraContextManager'); |
|
} |
|
|
|
}
|
|
|