You are here

function paragraphs_items_page_view in Paragraphs table 7

paragraphs item view page.

File

./pharagraphs_table.pages.inc, line 8

Code

function paragraphs_items_page_view($paragraphs_items) {
  $field_paragraphs = paragraphs_field_get_entity($paragraphs_items);
  if (empty($field_paragraphs)) {
    return;
  }

  //@todo view in mode table vertical or horizontal
  return $field_paragraphs
    ->view('full');
}