Skip to content
Snippets Groups Projects
Commit c32e84fb authored by narendra.desai's avatar narendra.desai
Browse files

PHPCS fixes.

parent 68e17d9a
No related branches found
No related tags found
No related merge requests found
Pipeline #307007 passed with warnings
......@@ -5,10 +5,10 @@
* Taxonomy Term Revision module.
*/
use Drupal\Core\Entity\EntityTypeInterface;
use Drupal\taxonomy\TermInterface;
use Drupal\Core\Entity\EntityInterface;
use Drupal\Core\Entity\EntityTypeInterface;
use Drupal\Core\Routing\RouteMatchInterface;
use Drupal\taxonomy\TermInterface;
/**
* Implements hook_entity_base_field_info_alter().
......@@ -55,11 +55,10 @@ function taxonomy_term_revision_entity_type_alter(array &$entity_types) {
* Implements hook_help().
*/
function taxonomy_term_revision_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
case 'help.page.taxonomy_term_revision':
$output = '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('This module allows user to create revisions for a taxonomy term. Also, you can view all the created revisions in tabular format, view the contents of a particular revision, delete a revision and revert to a previous revision.') . '</p>';
if ($route_name == 'help.page.taxonomy_term_revision') {
$output = '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('This module allows user to create revisions for a taxonomy term. Also, you can view all the created revisions in tabular format, view the contents of a particular revision, delete a revision and revert to a previous revision.') . '</p>';
return $output;
return $output;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment