public function ParagraphController::__construct in Paragraphs admin 8
Constructs a new ParagraphController object.
Parameters
\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger.
File
- src/
Controller/ ParagraphController.php, line 28
Class
- ParagraphController
- Controller for paragraphs admin.
Namespace
Drupal\paragraphs_admin\ControllerCode
public function __construct(MessengerInterface $messenger) {
$this->messenger = $messenger;
}