Update to Drupal 8.0.0-beta15. For more information, see: https://www.drupal.org/node/2563023
This commit is contained in:
parent
2720a9ec4b
commit
f3791f1da3
1898 changed files with 54300 additions and 11481 deletions
|
@ -12,7 +12,6 @@ use Drupal\Core\Routing\RouteMatchInterface;
|
|||
use Drupal\Core\Url;
|
||||
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
use Drupal\Component\Utility\SafeMarkup;
|
||||
|
||||
/**
|
||||
* Controller routines for help routes.
|
||||
|
@ -115,7 +114,7 @@ class HelpController extends ControllerBase {
|
|||
$build = array();
|
||||
if ($this->moduleHandler()->implementsHook($name, 'help')) {
|
||||
$module_name = $this->moduleHandler()->getName($name);
|
||||
$build['#title'] = SafeMarkup::checkPlain($module_name);
|
||||
$build['#title'] = $module_name;
|
||||
|
||||
$temp = $this->moduleHandler()->invoke($name, 'help', array("help.page.$name", $this->routeMatch));
|
||||
if (empty($temp)) {
|
||||
|
@ -126,7 +125,7 @@ class HelpController extends ControllerBase {
|
|||
}
|
||||
|
||||
// Only print list of administration pages if the module in question has
|
||||
// any such pages associated to it.
|
||||
// any such pages associated with it.
|
||||
$admin_tasks = system_get_module_admin_tasks($name, system_get_info('module', $name));
|
||||
if (!empty($admin_tasks)) {
|
||||
$links = array();
|
||||
|
|
Reference in a new issue