public function BeanTypePluginInterface::view in Bean (for Drupal 7) 7
Return the block content.
@abstract
Parameters
$bean: The bean object being viewed.
$content: The default content array created by Entity API. This will include any fields attached to the entity.
string $view_mode: The view mode passed into $entity->view().
null $langcode:
Return value
Return a renderable content array.
1 method overrides BeanTypePluginInterface::view()
- BeanPlugin::view in plugins/
BeanPlugin.class.php - Return the block content.
File
- includes/
bean.core.inc, line 138 - Bean classes and plugin interface
Class
- BeanTypePluginInterface
- Interface for Plugin Classes
Code
public function view($bean, $content, $view_mode = 'default', $langcode = NULL);