comparison core/lib/Drupal/Core/Controller/ControllerBase.php @ 14:1fec387a4317

Update Drupal core to 8.5.2 via Composer
author Chris Cannam
date Mon, 23 Apr 2018 09:46:53 +0100
parents 4c8ae668cc8c
children c2387f117808
comparison
equal deleted inserted replaced
13:5fb285c0d0e3 14:1fec387a4317
7 use Drupal\Core\Routing\LinkGeneratorTrait; 7 use Drupal\Core\Routing\LinkGeneratorTrait;
8 use Drupal\Core\Routing\RedirectDestinationTrait; 8 use Drupal\Core\Routing\RedirectDestinationTrait;
9 use Drupal\Core\Routing\UrlGeneratorTrait; 9 use Drupal\Core\Routing\UrlGeneratorTrait;
10 use Drupal\Core\StringTranslation\StringTranslationTrait; 10 use Drupal\Core\StringTranslation\StringTranslationTrait;
11 use Symfony\Component\DependencyInjection\ContainerInterface; 11 use Symfony\Component\DependencyInjection\ContainerInterface;
12 use Drupal\Core\Messenger\MessengerTrait;
12 13
13 /** 14 /**
14 * Utility base class for thin controllers. 15 * Utility base class for thin controllers.
15 * 16 *
16 * Controllers that use this base class have access to a number of utility 17 * Controllers that use this base class have access to a number of utility
33 */ 34 */
34 abstract class ControllerBase implements ContainerInjectionInterface { 35 abstract class ControllerBase implements ContainerInjectionInterface {
35 36
36 use LinkGeneratorTrait; 37 use LinkGeneratorTrait;
37 use LoggerChannelTrait; 38 use LoggerChannelTrait;
39 use MessengerTrait;
38 use RedirectDestinationTrait; 40 use RedirectDestinationTrait;
39 use StringTranslationTrait; 41 use StringTranslationTrait;
40 use UrlGeneratorTrait; 42 use UrlGeneratorTrait;
41 43
42 /** 44 /**