| Conditions | 2 |
| Paths | 2 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | public function alter(ContainerBuilder $container) { |
||
| 14 | if ($container->has('lightning.behat_init')) { |
||
| 15 | // Override the class used for the lightning.behat_init service. |
||
| 16 | $definition = $container->getDefinition('lightning.behat_init'); |
||
| 17 | $definition->setClass('\Drupal\df\Command\DFBehatInitCommand'); |
||
| 18 | } |
||
| 19 | } |
||
| 20 | |||
| 22 |