You are here

function thunder_action_info_alter in Thunder 6.1.x

Same name and namespace in other branches
  1. 8.5 thunder.profile \thunder_action_info_alter()
  2. 6.2.x thunder.profile \thunder_action_info_alter()

Implements hook_action_info_alter().

File

./thunder.profile, line 179
Enables modules and site configuration for a thunder site installation.

Code

function thunder_action_info_alter(&$definitions) {
  foreach ($definitions as &$definition) {
    if ($definition['id'] === 'entity:edit_action') {
      $definition['action_label'] = t('Edit');
    }
  }
}