Commit 1094d0c8 authored by alexpott's avatar alexpott

Issue #3058943 by Mohammed J. Razem, alonaoneill: Fix Media Library module...

Issue #3058943 by Mohammed J. Razem, alonaoneill: Fix Media Library module name according to module naming convention
parent 397cd309
name: 'Media library'
name: 'Media Library'
type: module
description: 'Enhances the media list with additional features to more easily find and use existing media items.'
package: Core (Experimental)
......
......@@ -36,7 +36,7 @@ function media_library_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
case 'help.page.media_library':
$output = '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('The Media library module overrides the /admin/content/media view to provide a rich visual interface for performing administrative operations on media. For more information, see the <a href=":media">online documentation for the Media library module</a>.', [':media' => 'https://www.drupal.org/docs/8/core/modules/media']) . '</p>';
$output .= '<p>' . t('The Media Library module overrides the /admin/content/media view to provide a rich visual interface for performing administrative operations on media. For more information, see the <a href=":media">online documentation for the Media Library module</a>.', [':media' => 'https://www.drupal.org/docs/8/core/modules/media']) . '</p>';
return $output;
}
}
......
......@@ -2,7 +2,7 @@
/**
* @file
* Post update functions for Media library.
* Post update functions for Media Library.
*/
use Drupal\Core\Entity\Entity\EntityFormMode;
......@@ -63,7 +63,7 @@ function media_library_post_update_table_display() {
$view = Views::getView('media_library');
if (!$view) {
return t('The media_library view could not be updated because it has been deleted. The Media library module needs this view in order to work properly. Uninstall and reinstall the module so the view will be re-created.');
return t('The media_library view could not be updated because it has been deleted. The Media Library module needs this view in order to work properly. Uninstall and reinstall the module so the view will be re-created.');
}
// Override CSS classes to allow targeting grid displays.
......
name: 'Media library test'
name: 'Media Library test'
type: module
description: 'Test module for Media library.'
description: 'Test module for Media Library.'
package: Testing
core: 8.x
dependencies:
......
......@@ -12,7 +12,7 @@
use Drupal\media\Entity\MediaType;
/**
* Tests that the Media library automatically configures form/view modes.
* Tests that the Media Library automatically configures form/view modes.
*
* @group media_library
*/
......@@ -46,7 +46,7 @@ protected function setUp() {
}
/**
* Tests that the Media library can automatically configure display modes.
* Tests that the Media Library can automatically configure display modes.
*/
public function testDisplayModes() {
$this->createMediaType('file', [
......
......@@ -14,7 +14,7 @@
use Drupal\user\RoleInterface;
/**
* Contains Media library integration tests.
* Contains Media Library integration tests.
*
* @group media_library
*/
......@@ -80,7 +80,7 @@ protected function setUp() {
}
/**
* Tests that the Media library's administration page works as expected.
* Tests that the Media Library's administration page works as expected.
*/
public function testAdministrationPage() {
$session = $this->getSession();
......
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