Update Composer, update everything
This commit is contained in:
parent
ea3e94409f
commit
dda5c284b6
19527 changed files with 1135420 additions and 351004 deletions
|
@ -107,7 +107,8 @@ class HelpController extends ControllerBase {
|
|||
* A module name to display a help page for.
|
||||
*
|
||||
* @return array
|
||||
* A render array as expected by drupal_render().
|
||||
* A render array as expected by
|
||||
* \Drupal\Core\Render\RendererInterface::render().
|
||||
*
|
||||
* @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException
|
||||
*/
|
||||
|
@ -119,7 +120,7 @@ class HelpController extends ControllerBase {
|
|||
|
||||
$info = system_get_info('module', $name);
|
||||
if ($info['package'] === 'Core (Experimental)') {
|
||||
drupal_set_message($this->t('This module is experimental. <a href=":url">Experimental modules</a> are provided for testing purposes only. Use at your own risk.', [':url' => 'https://www.drupal.org/core/experimental']), 'warning');
|
||||
$this->messenger()->addWarning($this->t('This module is experimental. <a href=":url">Experimental modules</a> are provided for testing purposes only. Use at your own risk.', [':url' => 'https://www.drupal.org/core/experimental']));
|
||||
}
|
||||
|
||||
$temp = $this->moduleHandler()->invoke($name, 'help', ["help.page.$name", $this->routeMatch]);
|
||||
|
|
|
@ -17,7 +17,6 @@ use Drupal\Core\Cache\CacheableDependencyInterface;
|
|||
*/
|
||||
interface HelpSectionPluginInterface extends PluginInspectionInterface, CacheableDependencyInterface {
|
||||
|
||||
|
||||
/**
|
||||
* Returns the title of the help section.
|
||||
*
|
||||
|
|
|
@ -15,7 +15,10 @@ use Symfony\Component\HttpFoundation\Request;
|
|||
*
|
||||
* @Block(
|
||||
* id = "help_block",
|
||||
* admin_label = @Translation("Help")
|
||||
* admin_label = @Translation("Help"),
|
||||
* forms = {
|
||||
* "settings_tray" = FALSE,
|
||||
* },
|
||||
* )
|
||||
*/
|
||||
class HelpBlock extends BlockBase implements ContainerFactoryPluginInterface {
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* Help Page Test module to test the help page.
|
||||
*/
|
||||
|
||||
use \Drupal\Core\Routing\RouteMatchInterface;
|
||||
use Drupal\Core\Routing\RouteMatchInterface;
|
||||
|
||||
/**
|
||||
* Implements hook_help().
|
||||
|
|
|
@ -14,6 +14,7 @@ use Drupal\help\Plugin\HelpSection\HelpSectionPluginBase;
|
|||
* )
|
||||
*/
|
||||
class EmptyHelpSection extends HelpSectionPluginBase {
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
|
|
@ -3,4 +3,4 @@ type: module
|
|||
core: 8.x
|
||||
package: Testing
|
||||
dependencies:
|
||||
- help
|
||||
- drupal:help
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* Test Help module.
|
||||
*/
|
||||
|
||||
use \Drupal\Core\Routing\RouteMatchInterface;
|
||||
use Drupal\Core\Routing\RouteMatchInterface;
|
||||
|
||||
/**
|
||||
* Implements hook_help().
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* More Help Page Test module to test the help blocks.
|
||||
*/
|
||||
|
||||
use \Drupal\Core\Routing\RouteMatchInterface;
|
||||
use Drupal\Core\Routing\RouteMatchInterface;
|
||||
|
||||
/**
|
||||
* Implements hook_help().
|
||||
|
|
|
@ -18,12 +18,14 @@ class HelpTest extends BrowserTestBase {
|
|||
* overview page. The help_page_test module has a page section plugin that
|
||||
* returns no links.
|
||||
*
|
||||
* @var array.
|
||||
* @var array
|
||||
*/
|
||||
public static $modules = ['help_test', 'help_page_test'];
|
||||
|
||||
/**
|
||||
* Use the Standard profile to test help implementations of many core modules.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $profile = 'standard';
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ class NoHelpTest extends BrowserTestBase {
|
|||
*
|
||||
* Use one of the test modules that do not implement hook_help().
|
||||
*
|
||||
* @var array.
|
||||
* @var array
|
||||
*/
|
||||
public static $modules = ['help', 'menu_test'];
|
||||
|
||||
|
|
Reference in a new issue