migrate_spip-1.0.0/migrate_spip.module
migrate_spip.module
<?php
/**
* @file
* Provides primary Drupal hook implementations.
*/
declare(strict_types=1);
use Drupal\Core\Routing\RouteMatchInterface;
/**
* Implements hook_help().
*/
function migrate_spip_help($route_name, RouteMatchInterface $route_match): string {
$output = '';
if ($route_name === 'help.page.migrate_spip') {
$output .= '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('Provides a SPIP rich text converter into HTML.') . '</p>';
$output .= '<p>' . t('Allows a developer to create their own plugins and override existing plugins.') . '</p>';
}
return $output;
}
