Commit a1103624 authored by sleitner's avatar sleitner Committed by gbyte.co

Issue #3094476 by sleitner, gbyte.co: PHP 7.4 and Drupal 9 testing deprecation

parent d4e33c0e
......@@ -115,7 +115,7 @@ class SimplesitemapEntitiesForm extends SimplesitemapFormBase {
$indexed_bundles_string = '';
if (isset($indexed_bundles[$entity_type_id])) {
foreach ($indexed_bundles[$entity_type_id] as $bundle => $bundle_data) {
$indexed_bundles_string .= '<br><em>' . $bundle_data['bundle_label'] . '</em> <span class="description">(' . $this->t('sitemap variants') . ': <em>' . implode($bundle_data['variants'], ', ') . '</em>)</span>';
$indexed_bundles_string .= '<br><em>' . $bundle_data['bundle_label'] . '</em> <span class="description">(' . $this->t('sitemap variants') . ': <em>' . implode(', ', $bundle_data['variants']) . '</em>)</span>';
}
}
......
......@@ -61,6 +61,20 @@ abstract class SimplesitemapTestBase extends BrowserTestBase {
protected $defaultSitemapUrl = 'sitemap.xml';
/**
* Use the testing profile.
*
* @var string
*/
protected $profile = 'testing';
/**
* Use the classy theme.
*
* @var string
*/
protected $defaultTheme = 'classy';
/**
* {@inheritdoc}
*/
......
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