1 views_plugin_display.inc public views_plugin_display::unpack_plugin(&$translatable, $storage, $option, $definition, $parents)

Special handling for plugins when extracting translatables.

File

core/modules/views/plugins/views_plugin_display.inc, line 2874
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

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