return$this->t('Are you sure you wish to enable experimental modules?');
}
/**
* {@inheritdoc}
*/
publicfunctiongetFormId(){
return'system_modules_experimental_confirm_form';
}
/**
* {@inheritdoc}
*/
protectedfunctionbuildMessageList(){
$this->messenger()->addWarning($this->t('<a href=":url">Experimental modules</a> are provided for testing purposes only. Use at your own risk.',[':url'=>'https://www.drupal.org/core/experimental']));
$items=parent::buildMessageList();
// Add the list of experimental modules after any other messages.
$items[]=$this->t('The following modules are experimental: @modules',['@modules'=>implode(', ',array_values($this->modules['experimental']))]);
$this->messenger()->addWarning($this->t('<a href=":url">Experimental modules</a> are provided for testing purposes only. Use at your own risk.',[':url'=>'https://www.drupal.org/core/experimental']));
// Add the list of experimental modules after any other messages.
return$this->t('<a href=":url">Deprecated modules</a> are modules that may be removed from the next major release of Drupal core and the relevant contributed module. Use at your own risk.',[':url'=>'https://www.drupal.org/about/core/policies/core-change-policies/deprecated-modules-and-themes']);
}
if($contrib_deprecated_modules){
return$this->t('<a href=":url">Deprecated modules</a> are modules that may be removed from the next major release of this project. Use at your own risk.',[':url'=>'https://www.drupal.org/about/core/policies/core-change-policies/deprecated-modules-and-themes']);
}
return$this->t('<a href=":url">Deprecated modules</a> are modules that may be removed from the next major release of Drupal core. Use at your own risk.',[':url'=>'https://www.drupal.org/about/core/policies/core-change-policies/deprecated-modules-and-themes']);
}
/**
* Sets properties with information about non-stable modules being enabled.