Commit 89258b41 authored by Pawel G's avatar Pawel G

Clean up

parent 99d76587
......@@ -122,7 +122,7 @@ function simple_sitemap_schema() {
'default' => 0,
],
'status' => [
'description' => "Flag indicating the publishing status of the chunk.",
'description' => 'Flag indicating the publishing status of the chunk.',
'type' => 'int',
'size' => 'tiny',
'not null' => TRUE,
......
......@@ -13,15 +13,16 @@ use Drupal\system\MenuInterface;
use Drupal\language\ConfigurableLanguageInterface;
/**
*Implements hook_help().
* Implements hook_help().
*
* @param $route_name
* @param \Drupal\Core\Routing\RouteMatchInterface $route_match
* @return \Drupal\Component\Render\MarkupInterface|null
*/
function simple_sitemap_help($route_name, RouteMatchInterface $route_match) {
return $route_name === 'help.page.simple_sitemap' ?
check_markup(file_get_contents(dirname(__FILE__) . "/README.md")) : NULL;
return $route_name === 'help.page.simple_sitemap'
? check_markup(file_get_contents(__DIR__ . '/README.md'))
: NULL;
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment