You are here

function _autofloat_filter_settings in AutoFloat 7.2

Same name and namespace in other branches
  1. 7 autofloat.module \_autofloat_filter_settings()

Notice in the AutoFloat settings on the text format configuration page.

1 string reference to '_autofloat_filter_settings'
autofloat_filter_info in ./autofloat.module
Implements hook_filter_info().

File

./autofloat.module, line 69
Autofloat module: A filter that floats images left and right automatically.

Code

function _autofloat_filter_settings($form, &$form_state, $filter, $format, $defaults, $filters) {
  $elements['notice'] = array(
    '#markup' => t('!config_link are shared by all the text formats where it is enabled.', array(
      '!config_link' => l(t('AutoFloat Filter settings'), 'admin/config/content/autofloat', array(
        'attributes' => array(
          'title' => 'Unified settings page',
        ),
      )),
    )),
  );
  return $elements;
}