diff --git a/core/modules/help/help.admin.inc b/core/modules/help/help.admin.inc index 0a8e147..a3bea9e 100644 --- a/core/modules/help/help.admin.inc +++ b/core/modules/help/help.admin.inc @@ -11,7 +11,7 @@ * @see help_menu() */ function help_main() { - // Add CSS + // Add CSS. drupal_add_css(drupal_get_path('module', 'help') . '/help.css'); $output = '
' . t('Help is available on the following items:') . '
' . help_links_as_list(); return $output; @@ -87,4 +87,3 @@ function help_links_as_list() { return $output; } - diff --git a/core/modules/help/help.api.php b/core/modules/help/help.api.php index f7d9c08..8b75a78 100644 --- a/core/modules/help/help.api.php +++ b/core/modules/help/help.api.php @@ -48,11 +48,11 @@ */ function hook_help($path, $arg) { switch ($path) { - // Main module help for the block module + // Main module help for the block module. case 'admin/help#block': return '' . t('Blocks are boxes of content rendered into an area, or region, of a web page. The default theme Bartik, for example, implements the regions "Sidebar first", "Sidebar second", "Featured", "Content", "Header", "Footer", etc., and a block may appear in any one of these areas. The blocks administration page provides a drag-and-drop interface for assigning a block to a region, and for controlling the order of blocks within regions.', array('@blocks' => url('admin/structure/block'))) . '
'; - // Help for another path in the block module + // Help for another path in the block module. case 'admin/structure/block': return '' . t('This page provides a drag-and-drop interface for assigning a block to a region, and for controlling the order of blocks within regions. Since not all themes implement the same regions, or display regions in the same way, blocks are positioned on a per-theme basis. Remember that your changes will not be saved until you click the Save blocks button at the bottom of the page.') . '
'; } diff --git a/core/modules/help/lib/Drupal/help/Tests/HelpTest.php b/core/modules/help/lib/Drupal/help/Tests/HelpTest.php index 0bd35e6..38c2eb4 100644 --- a/core/modules/help/lib/Drupal/help/Tests/HelpTest.php +++ b/core/modules/help/lib/Drupal/help/Tests/HelpTest.php @@ -27,12 +27,12 @@ class HelpTest extends WebTestBase { /** * The admin user that will be created. */ - protected $big_user; + protected $bigUser; /** * The anonymous user that will be created. */ - protected $any_user; + protected $anyUser; public static function getInfo() { return array( @@ -48,8 +48,8 @@ class HelpTest extends WebTestBase { $this->getModuleList(); // Create users. - $this->big_user = $this->drupalCreateUser(array('access administration pages', 'view the administration theme', 'administer permissions')); - $this->any_user = $this->drupalCreateUser(array()); + $this->bigUser = $this->drupalCreateUser(array('access administration pages', 'view the administration theme', 'administer permissions')); + $this->anyUser = $this->drupalCreateUser(array()); } /** @@ -57,15 +57,15 @@ class HelpTest extends WebTestBase { */ function testHelp() { // Login the admin user. - $this->drupalLogin($this->big_user); + $this->drupalLogin($this->bigUser); $this->verifyHelp(); // Login the regular user. - $this->drupalLogin($this->any_user); + $this->drupalLogin($this->anyUser); $this->verifyHelp(403); // Check for css on admin/help. - $this->drupalLogin($this->big_user); + $this->drupalLogin($this->bigUser); $this->drupalGet('admin/help'); $this->assertRaw(drupal_get_path('module', 'help') . '/help.css', 'The help.css file is present in the HTML.'); @@ -95,7 +95,7 @@ class HelpTest extends WebTestBase { if ($response == 200) { $this->assertTitle($name . ' | Drupal', format_string('%module title was displayed', array('%module' => $module))); $this->assertRaw('