public function ParagraphsItemController::page in Paragraphs table 8
Displays a paragraphs item.
Parameters
\Drupal\paragraphs\Entity\Paragraph $paragraph: The Paragraph item we are displaying.
Return value
array An array suitable for drupal_render().
1 string reference to 'ParagraphsItemController::page'
File
- src/
Controller/ ParagraphsItemController.php, line 66
Class
- ParagraphsItemController
- Returns responses for paragraphs item routes.
Namespace
Drupal\paragraphs_table\ControllerCode
public function page(Paragraph $paragraph) {
return $this
->buildPage($paragraph);
}