You are here

public function BoxPlugin::view in Boxes 7.2

Return the block content.

Parameters

$box: The box object being viewed.

$content: The default content array created by Entity API. This will include any fields attached to the entity.

$view_mode: The view mode passed into $entity->view().

Return value

Return a renderable content array.

Overrides BoxTypePluginInterface::view

File

plugins/base.inc, line 103
Base Plugin Class

Class

BoxPlugin
@file Base Plugin Class

Code

public function view($box, $content, $view_mode = 'default', $langcode = NULL) {
  return $content;
}