You are here

function privatemsg_popups in Privatemsg 6.2

Implements hook_popups().

1 string reference to 'privatemsg_popups'
privatemsg_admin_settings in ./privatemsg.admin.inc
@file Administration menu callbacks for Privatemsg.

File

./privatemsg.module, line 2395
Allows users to send private messages to other users.

Code

function privatemsg_popups() {
  if (variable_get('privatemsg_popups', TRUE)) {
    return array(
      '*' => array(
        'a[href*=messages/new]',
      ),
    );
  }
}