diff --git a/core/modules/block/lib/Drupal/block/Plugin/Type/BlockManager.php b/core/modules/block/lib/Drupal/block/Plugin/Type/BlockManager.php index 2cc3de1..bbea53f 100644 --- a/core/modules/block/lib/Drupal/block/Plugin/Type/BlockManager.php +++ b/core/modules/block/lib/Drupal/block/Plugin/Type/BlockManager.php @@ -23,7 +23,7 @@ class BlockManager extends DefaultPluginManager { /** - * Array of all available modules and their data. + * An array of all available modules and their data. * * @var array */ @@ -71,13 +71,14 @@ public function processDefinition(&$definition, $plugin_id) { } /** - * Gets the human-readable name of the module. + * Gets the name of the module. * * @param string $module * The machine name of a module. * * @return string - * The human-readable name of the module. + * The human-readable module name if it exists, otherwise the + * machine-readable module name. */ protected function getModuleName($module) { // Gather module data.