function views_plugin_display::unpack_plugin

Special handling for plugin unpacking.

File

plugins/views_plugin_display.inc, line 3202

Class

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

Code

public 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);
    }
}