You are here

function _semantic_panels_get_attributes in Semantic Panels 7.2

Same name and namespace in other branches
  1. 7 semantic_panels.module \_semantic_panels_get_attributes()

Returns attributes.

1 call to _semantic_panels_get_attributes()
_semantic_panels_form_element_attributes in plugins/styles/semantic_panels.inc
Get "Other Attribute(s)" fieldset

File

./semantic_panels.module, line 77
Semantic Panels.

Code

function _semantic_panels_get_attributes() {
  static $attributes = NULL;
  if (!isset($attributes)) {
    $elements = variable_get('semantic_panels_attributes', array(
      'title' => 'title',
      'target' => 'target',
      'role' => 'role',
      'tabindex' => 'tabindex',
      'id' => 'id',
      'lang' => 'lang',
      'accesskey' => 'accesskey',
    ));
  }
  return $elements;
}