public function MultiNodeAddController::statusPage in Multi Node Add 8
Status page after the node creation.
@todo: upgrade the calls to D8
1 string reference to 'MultiNodeAddController::statusPage'
File
- src/
Controller/ MultiNodeAddController.php, line 61
Class
- MultiNodeAddController
- Controller for Multi Node Add.
Namespace
Drupal\multi_node_add\ControllerCode
public function statusPage($node = NULL) {
return $this
->renderBarePage(t('The node is created. Title: %title , node id: !nid', [
'%title' => $node->title,
'!nid' => l($node->nid, 'node/' . $node->nid, [
'attributes' => [
'target' => '_blank',
],
]),
]));
}