You are here

function hook_extlink_settings_alter in External Links 8

Allow other modules to alter the Extlink settings.

Parameters

array $settings: Array of all ExtLink settings.

1 invocation of hook_extlink_settings_alter()
_extlink_get_settings_from_config in ./extlink.module
Helper function to prepare extlink JS drupalSettings from configuration.

File

./extlink.api.php, line 14
Hooks related to the extlink module.

Code

function hook_extlink_settings_alter(array &$settings) {

  // Add one CSS selector to ignore links that match that.
  $settings['extlink_css_exclude'] .= ', .my-module a.button';
}