You are here

public property ctools_context::$type in Chaos Tool Suite (ctools) 7

Same name and namespace in other branches
  1. 6 includes/context.inc \ctools_context::type

A string naming this specific context type. The values 'any' and 'none' are special:

  • 'any': used in is_type() to match any other type.
  • 'none': used to signal the type is not defined.

Type: string|array

File

includes/context.inc, line 37
Contains code related to the ctools system of 'context'.

Class

ctools_context
The context object is largely a wrapper around some other object, with an interface to finding out what is contained and getting to both the object and information about the object.

Code

public $type;