Commit 09b562de authored by catch's avatar catch

Issue #2318813 by Devin Carlson, Lowell: Comment module: Fix documentation...

Issue #2318813 by Devin Carlson, Lowell: Comment module: Fix documentation that refers to enabling/disabling of modules
parent 84fad8a0
......@@ -4,7 +4,7 @@
* @file
* Enables users to comment on published content.
*
* When enabled, the Comment module creates a field that facilitates a
* When installed, the Comment module creates a field that facilitates a
* discussion board for each Drupal entity to which a comment field is attached.
* Users can post comments to discuss a forum topic, story, collaborative
* book page, user etc.
......
/**
* Attaches behaviors for the Comment module's "new" indicator.
*
* May only be loaded for authenticated users, with the History module enabled.
* May only be loaded for authenticated users, with the History module
* installed.
*/
(function ($, Drupal, window) {
......
/**
* Attaches behaviors for the Comment module's "X new comments" link.
*
* May only be loaded for authenticated users, with the History module enabled.
* May only be loaded for authenticated users, with the History module
* installed.
*/
(function ($, Drupal) {
......
......@@ -17,7 +17,7 @@
class CommentActionsTest extends CommentTestBase {
/**
* Modules to enable.
* Modules to install.
*
* @var array
*/
......
......@@ -16,7 +16,7 @@
class CommentBlockTest extends CommentTestBase {
/**
* Modules to enable.
* Modules to install.
*
* @var array
*/
......
......@@ -18,7 +18,7 @@
class CommentBookTest extends WebTestBase {
/**
* Modules to enable.
* Modules to install.
*
* @var array
*/
......
......@@ -20,7 +20,7 @@
class CommentDefaultFormatterCacheTagsTest extends EntityUnitTestBase {
/**
* Modules to enable.
* Modules to install.
*
* @var array
*/
......
......@@ -25,7 +25,7 @@
class CommentFieldAccessTest extends EntityUnitTestBase {
/**
* Modules to enable.
* Modules to install.
*
* @var array
*/
......
......@@ -19,7 +19,7 @@
class CommentFieldsTest extends CommentTestBase {
/**
* Enable the field UI.
* Install the field UI.
*
* @var array
*/
......@@ -111,7 +111,7 @@ function testCommentInstallAfterContentModule() {
// field has been deleted.
field_purge_batch(10);
// Disable the comment module.
// Uninstall the comment module.
$edit = array();
$edit['uninstall[comment]'] = TRUE;
$this->drupalPostForm('admin/modules/uninstall', $edit, t('Uninstall'));
......@@ -119,7 +119,7 @@ function testCommentInstallAfterContentModule() {
$this->rebuildContainer();
$this->assertFalse($this->container->get('module_handler')->moduleExists('comment'), 'Comment module uninstalled.');
// Enable core content type module (book).
// Install core content type module (book).
$edit = array();
$edit['modules[Core][book][enable]'] = 'book';
$this->drupalPostForm('admin/modules', $edit, t('Save configuration'));
......
......@@ -20,7 +20,7 @@
class CommentLanguageTest extends WebTestBase {
/**
* Modules to enable.
* Modules to install.
*
* We also use the language_test module here to be able to turn on content
* language negotiation. Drupal core does not provide a way in itself to do
......
......@@ -20,7 +20,7 @@
class CommentNodeAccessTest extends CommentTestBase {
/**
* Modules to enable.
* Modules to install.
*
* @var array
*/
......
......@@ -17,7 +17,7 @@
class CommentRssTest extends CommentTestBase {
/**
* Modules to enable.
* Modules to install.
*
* @var array
*/
......
......@@ -18,7 +18,7 @@
class CommentStringIdEntitiesTest extends KernelTestBase {
/**
* Modules to enable.
* Modules to install.
*
* @var array
*/
......
......@@ -20,7 +20,7 @@
abstract class CommentTestBase extends WebTestBase {
/**
* Modules to enable.
* Modules to install.
*
* @var array
*/
......
......@@ -18,7 +18,7 @@ class CommentTitleTest extends CommentTestBase {
* Tests markup for comments with empty titles.
*/
public function testCommentEmptyTitles() {
// Enables module that sets comments to an empty string.
// Installs module that sets comments to an empty string.
\Drupal::service('module_installer')->install(array('comment_empty_title_test'));
// Set comments to have a subject with preview disabled.
......
......@@ -24,7 +24,7 @@ class CommentTranslationUITest extends ContentTranslationUITest {
protected $subject;
/**
* Modules to enable.
* Modules to install.
*
* @var array
*/
......
......@@ -18,7 +18,7 @@
class CommentUninstallTest extends WebTestBase {
/**
* Modules to enable.
* Modules to install.
*
* @var array
*/
......
......@@ -18,7 +18,7 @@
class CommentValidationTest extends EntityUnitTestBase {
/**
* Modules to enable.
* Modules to install.
*
* @var array
*/
......
......@@ -16,7 +16,7 @@
abstract class CommentTestBase extends ViewTestBase {
/**
* Modules to enable.
* Modules to install.
*
* @var array
*/
......
......@@ -19,7 +19,7 @@
class DefaultViewRecentCommentsTest extends ViewTestBase {
/**
* Modules to enable.
* Modules to install.
*
* @var array
*/
......
......@@ -19,7 +19,7 @@
class WizardTest extends WizardTestBase {
/**
* Modules to enable.
* Modules to install.
*
* @var array
*/
......
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