Issue #2318813 by Devin Carlson, Lowell: Comment module: Fix documentation that refers to enabling/disabling of modules

8.0.x
Nathaniel Catchpole 2014-11-27 16:09:30 +00:00
parent 84fad8a051
commit 09b562deed
21 changed files with 25 additions and 23 deletions

View File

@ -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.

View File

@ -1,7 +1,8 @@
/**
* 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) {

View File

@ -1,7 +1,8 @@
/**
* 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) {

View File

@ -17,7 +17,7 @@ use Drupal\comment\Entity\Comment;
class CommentActionsTest extends CommentTestBase {
/**
* Modules to enable.
* Modules to install.
*
* @var array
*/

View File

@ -16,7 +16,7 @@ use Drupal\Component\Utility\String;
class CommentBlockTest extends CommentTestBase {
/**
* Modules to enable.
* Modules to install.
*
* @var array
*/

View File

@ -18,7 +18,7 @@ use Drupal\simpletest\WebTestBase;
class CommentBookTest extends WebTestBase {
/**
* Modules to enable.
* Modules to install.
*
* @var array
*/

View File

@ -20,7 +20,7 @@ use Drupal\system\Tests\Entity\EntityUnitTestBase;
class CommentDefaultFormatterCacheTagsTest extends EntityUnitTestBase {
/**
* Modules to enable.
* Modules to install.
*
* @var array
*/

View File

@ -25,7 +25,7 @@ use Drupal\user\Entity\Role;
class CommentFieldAccessTest extends EntityUnitTestBase {
/**
* Modules to enable.
* Modules to install.
*
* @var array
*/

View File

@ -19,7 +19,7 @@ use Drupal\field\Entity\FieldConfig;
class CommentFieldsTest extends CommentTestBase {
/**
* Enable the field UI.
* Install the field UI.
*
* @var array
*/
@ -111,7 +111,7 @@ class CommentFieldsTest extends CommentTestBase {
// 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 @@ class CommentFieldsTest extends CommentTestBase {
$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'));

View File

@ -20,7 +20,7 @@ use Drupal\simpletest\WebTestBase;
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

View File

@ -20,7 +20,7 @@ use Drupal\comment\CommentManagerInterface;
class CommentNodeAccessTest extends CommentTestBase {
/**
* Modules to enable.
* Modules to install.
*
* @var array
*/

View File

@ -17,7 +17,7 @@ use Drupal\comment\Plugin\Field\FieldType\CommentItemInterface;
class CommentRssTest extends CommentTestBase {
/**
* Modules to enable.
* Modules to install.
*
* @var array
*/

View File

@ -18,7 +18,7 @@ use Drupal\simpletest\KernelTestBase;
class CommentStringIdEntitiesTest extends KernelTestBase {
/**
* Modules to enable.
* Modules to install.
*
* @var array
*/

View File

@ -20,7 +20,7 @@ use Drupal\simpletest\WebTestBase;
abstract class CommentTestBase extends WebTestBase {
/**
* Modules to enable.
* Modules to install.
*
* @var array
*/

View File

@ -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.

View File

@ -24,7 +24,7 @@ class CommentTranslationUITest extends ContentTranslationUITest {
protected $subject;
/**
* Modules to enable.
* Modules to install.
*
* @var array
*/

View File

@ -18,7 +18,7 @@ use Drupal\simpletest\WebTestBase;
class CommentUninstallTest extends WebTestBase {
/**
* Modules to enable.
* Modules to install.
*
* @var array
*/

View File

@ -18,7 +18,7 @@ use Drupal\system\Tests\Entity\EntityUnitTestBase;
class CommentValidationTest extends EntityUnitTestBase {
/**
* Modules to enable.
* Modules to install.
*
* @var array
*/

View File

@ -16,7 +16,7 @@ use Drupal\views\Tests\ViewTestData;
abstract class CommentTestBase extends ViewTestBase {
/**
* Modules to enable.
* Modules to install.
*
* @var array
*/

View File

@ -19,7 +19,7 @@ use Drupal\views\Tests\ViewTestBase;
class DefaultViewRecentCommentsTest extends ViewTestBase {
/**
* Modules to enable.
* Modules to install.
*
* @var array
*/

View File

@ -19,7 +19,7 @@ use Drupal\views\Tests\Wizard\WizardTestBase;
class WizardTest extends WizardTestBase {
/**
* Modules to enable.
* Modules to install.
*
* @var array
*/