You are here

function password_policy_features_api in Password Policy 7

Implements hook_features_api().

File

./password_policy.module, line 1361
Allows enforcing restrictions on user passwords by defining policies.

Code

function password_policy_features_api() {
  return array(
    'password_policy' => array(
      'name' => 'Password Policy',
      'file' => drupal_get_path('module', 'password_policy') . '/password_policy.features.inc',
      'default_hook' => 'password_policy_features_default_policies',
      'feature_source' => TRUE,
    ),
  );
}