Issue #3042999 by baikho, mpp: Remove ucfirst() from missing dependencies on the Extend page

merge-requests/55/head
webchick 2019-08-02 07:41:11 -07:00
parent 961c2b1ccb
commit 473ae84d7d
1 changed files with 1 additions and 1 deletions

View File

@ -324,7 +324,7 @@ class ModulesListForm extends FormBase {
/** @var \Drupal\Core\Extension\Dependency $dependency_object */ /** @var \Drupal\Core\Extension\Dependency $dependency_object */
foreach ($module->requires as $dependency => $dependency_object) { foreach ($module->requires as $dependency => $dependency_object) {
if (!isset($modules[$dependency])) { if (!isset($modules[$dependency])) {
$row['#requires'][$dependency] = $this->t('@module (<span class="admin-missing">missing</span>)', ['@module' => Unicode::ucfirst($dependency)]); $row['#requires'][$dependency] = $this->t('@module (<span class="admin-missing">missing</span>)', ['@module' => $dependency]);
$row['enable']['#disabled'] = TRUE; $row['enable']['#disabled'] = TRUE;
} }
// Only display visible modules. // Only display visible modules.