Update to Drupal 8.0-dev-2015-11-17. Commits through da81cd220, Tue Nov 17 15:53:49 2015 +0000, Issue #2617224 by Wim Leers: Move around/fix some documentation.
This commit is contained in:
parent
4afb23bbd3
commit
7784f4c23d
929 changed files with 19798 additions and 5304 deletions
|
@ -61,6 +61,7 @@ entity.shortcut.canonical:
|
|||
_title: 'Edit'
|
||||
requirements:
|
||||
_entity_access: 'shortcut.update'
|
||||
shortcut: \d+
|
||||
|
||||
entity.shortcut.edit_form:
|
||||
path: '/admin/config/user-interface/shortcut/link/{shortcut}'
|
||||
|
@ -69,6 +70,7 @@ entity.shortcut.edit_form:
|
|||
_title: 'Edit'
|
||||
requirements:
|
||||
_entity_access: 'shortcut.update'
|
||||
shortcut: \d+
|
||||
|
||||
entity.shortcut.link_delete_inline:
|
||||
path: '/admin/config/user-interface/shortcut/link/{shortcut}/delete-inline'
|
||||
|
@ -77,6 +79,7 @@ entity.shortcut.link_delete_inline:
|
|||
requirements:
|
||||
_entity_access: 'shortcut.delete'
|
||||
_csrf_token: 'TRUE'
|
||||
shortcut: \d+
|
||||
|
||||
entity.shortcut.delete_form:
|
||||
path: '/admin/config/user-interface/shortcut/link/{shortcut}/delete'
|
||||
|
@ -85,6 +88,7 @@ entity.shortcut.delete_form:
|
|||
_title: 'Delete'
|
||||
requirements:
|
||||
_entity_access: 'shortcut.delete'
|
||||
shortcut: \d+
|
||||
|
||||
shortcut.set_switch:
|
||||
path: '/user/{user}/shortcuts'
|
||||
|
@ -95,3 +99,4 @@ shortcut.set_switch:
|
|||
_custom_access: 'Drupal\shortcut\Form\SwitchShortcutSet::checkAccess'
|
||||
options:
|
||||
_admin_route: TRUE
|
||||
user: \d+
|
||||
|
|
|
@ -0,0 +1,44 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Contains \Drupal\shortcut\Tests\Migrate\MigrateShortcutStubTest.
|
||||
*/
|
||||
|
||||
namespace Drupal\shortcut\Tests\Migrate;
|
||||
|
||||
use Drupal\migrate_drupal\Tests\MigrateDrupalTestBase;
|
||||
use Drupal\migrate_drupal\Tests\StubTestTrait;
|
||||
|
||||
/**
|
||||
* Test stub creation for shortcut entities.
|
||||
*
|
||||
* @group shortcut
|
||||
*/
|
||||
class MigrateShortcutStubTest extends MigrateDrupalTestBase {
|
||||
|
||||
use StubTestTrait;
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public static $modules = ['shortcut', 'link'];
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected function setUp() {
|
||||
parent::setUp();
|
||||
$this->installEntitySchema('shortcut');
|
||||
// Make sure the 'default' shortcut_set is installed.
|
||||
$this->installConfig(['shortcut']);
|
||||
}
|
||||
|
||||
/**
|
||||
* Tests creation of shortcut stubs.
|
||||
*/
|
||||
public function testStub() {
|
||||
$this->performStubTest('shortcut');
|
||||
}
|
||||
|
||||
}
|
Reference in a new issue