public function FieldCollectionItemController::page in Field collection 8
Same name and namespace in other branches
- 8.3 src/Controller/FieldCollectionItemController.php \Drupal\field_collection\Controller\FieldCollectionItemController::page()
Displays a field collection item.
Parameters
\Drupal\field_collection\Entity\FieldCollectionItem $field_collection_item: The field collection item we are displaying.
Return value
array An array suitable for drupal_render().
1 string reference to 'FieldCollectionItemController::page'
File
- src/
Controller/ FieldCollectionItemController.php, line 61
Class
- FieldCollectionItemController
- Returns responses for Field collection item routes.
Namespace
Drupal\field_collection\ControllerCode
public function page(FieldCollectionItem $field_collection_item) {
$build = $this
->buildPage($field_collection_item);
return $build;
}