You are here

public function MessageController::__construct in Message UI 8

Constructs a MessageUiController object.

File

src/Controller/MessageController.php, line 26

Class

MessageController
Controller for adding messages.

Namespace

Drupal\message_ui\Controller

Code

public function __construct() {
  $this->accessHandler = $this
    ->entityTypeManager()
    ->getAccessControlHandler('message');
}