You are here

function _asset_wizard_element_match in Asset 6

Same name and namespace in other branches
  1. 5.2 asset_wizard.module \_asset_wizard_element_match()

always ignore certain textareas based on element attributes (mainly #id)

1 call to _asset_wizard_element_match()
asset_wizard_textarea in ./asset_wizard.module
The #process callback function for the textareas

File

./asset_wizard.module, line 291
Wizard-style interface for Asset.

Code

function _asset_wizard_element_match($element) {
  $ignore = array(
    'edit-log',
  );
  if (in_array($element['#id'], $ignore)) {
    return false;
  }
  return true;
}