You are here

public function BoxTypePluginInterface::view in Boxes 7.2

Return the block content.

@abstract

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.

1 method overrides BoxTypePluginInterface::view()
BoxPlugin::view in plugins/base.inc
Return the block content.

File

includes/boxes.core.inc, line 133
Box classes and plugin interface

Class

BoxTypePluginInterface
Interface for Plugin Classes

Code

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