You are here

function finder::element_handler in Finder 7.2

Get an option from the element handler.

Useful if unsure if element handler info is present as it will load the element info if it is missing. <-- No it doesn't :/ DERPrecate?

File

includes/finder.inc, line 359
finder.inc

Class

finder
An object to contain all of the data to generate a finder, plus the member functions to build the finder, and render the output.

Code

function element_handler($element, $setting) {
  if (isset($element->element_handler[$setting])) {
    return $element->element_handler[$setting];
  }
}