- π¦πΊAustralia mstrelan
I tried to follow #13 by adding this to migrate_drupal_ui.install
/** * Implements hook_requirements(). */ function migrate_drupal_ui_requirements(string $phase): array { $requirements = []; if ($phase === 'install') { $requirements['migrate_drupal_ui'] = [ 'title' => t('foo'), 'description' => t('foo'), 'severity' => Drupal\Core\Extension\Requirement\RequirementSeverity::Error, ]; } return $requirements; }
But when I hit confirm on the module install form I get the following error:
TypeError: Drupal\Component\Utility\Html::escape(): Argument #1 ($text) must be of type string, null given, called in /data/app/core/lib/Drupal/Component/Render/FormattableMarkup.php on line 238 in Drupal\Component\Utility\Html::escape() (line 433 of core/lib/Drupal/Component/Utility/Html.php).