You are here

function views_plugin_display::unpack_plugin in Views (for Drupal 7) 6.3

Same name and namespace in other branches
  1. 7.3 plugins/views_plugin_display.inc \views_plugin_display::unpack_plugin()

Special handling for plugin unpacking.

File

plugins/views_plugin_display.inc, line 2753
Contains the base display plugin.

Class

views_plugin_display
The default display plugin handler. Display plugins handle options and basic mechanisms for different output methods.

Code

function unpack_plugin(&$translatable, $storage, $option, $definition, $parents) {
  $plugin_type = end($parents);
  $plugin = $this
    ->get_plugin($plugin_type);
  if ($plugin) {

    // Write which plugin to use.
    return $plugin
      ->unpack_translatables($translatable, $parents);
  }
}