You are here

function content_lock_help in Content locking (anti-concurrent editing) 8.2

Same name and namespace in other branches
  1. 8 content_lock.module \content_lock_help()
  2. 6.2 content_lock.module \content_lock_help()
  3. 6 content_lock.module \content_lock_help()
  4. 7.3 content_lock.module \content_lock_help()
  5. 7 content_lock.module \content_lock_help()
  6. 7.2 content_lock.module \content_lock_help()

Implements hook_help().

File

./content_lock.module, line 23
Content lock - Main functions of the module.

Code

function content_lock_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.content_lock':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Prevents multiple users from trying to edit a single node simultaneously to prevent edit conflicts.') . '</p>';
      return $output;
  }
}