You are here

function context_entity_field_help in Context entity field 8

Implements hook_help().

File

./context_entity_field.module, line 8

Code

function context_entity_field_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.context_entity_field':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('The Context entity field module module lets users define conditions based on entity field values for when certain reactions should take place.') . '</p>';
      $output .= '<p>' . t('For example: when viewing a certain node, some blocks should be placed as a reaction only when a node field has a specific value.') . '</p>';
      return $output;
  }
}