You are here

function panels_required_context::panels_required_context in Panels 5.2

Same name and namespace in other branches
  1. 6.2 includes/plugins.inc \panels_required_context::panels_required_context()

File

includes/plugins.inc, line 69
plugins.inc

Class

panels_required_context
This is used to explain to Panels what context is required.

Code

function panels_required_context() {
  $args = func_get_args();
  $this->title = array_shift($args);
  if (count($args) == 1) {
    $args = array_shift($args);
  }
  $this->keywords = $args;
}