updated core from 8.4 to 8.5 : bug with login_destination

This commit is contained in:
Bachir Soussi Chiadmi
2018-03-13 14:01:21 +01:00
parent 0d78da249b
commit e668535a4e
3486 changed files with 89604 additions and 33283 deletions
+2 -2
View File
@@ -32,11 +32,11 @@
margin-right: 0.3em;
}
.shortcut-action__message {
background: #000000;
background: #000;
background: rgba(0, 0, 0, 0.5);
border-radius: 5px;
padding: 0 5px;
color: #ffffff;
color: #fff;
display: inline-block;
margin-left: 0.3em; /* LTR */
opacity: 0;
@@ -2,6 +2,7 @@ id: d7_shortcut
label: Shortcut links
migration_tags:
- Drupal 7
- Content
source:
plugin: d7_shortcut
constants:
@@ -2,6 +2,7 @@ id: d7_shortcut_set
label: Shortcut sets
migration_tags:
- Drupal 7
- Configuration
source:
plugin: d7_shortcut_set
process:
@@ -2,6 +2,7 @@ id: d7_shortcut_set_users
label: Shortcut set user mapping
migration_tags:
- Drupal 7
- Configuration
source:
plugin: d7_shortcut_set_users
process:
+3 -3
View File
@@ -8,8 +8,8 @@ configure: entity.shortcut_set.collection
dependencies:
- link
# Information added by Drupal.org packaging script on 2018-01-03
version: '8.4.4'
# Information added by Drupal.org packaging script on 2018-03-07
version: '8.5.0'
core: '8.x'
project: 'drupal'
datestamp: 1515021228
datestamp: 1520457825
@@ -8,6 +8,8 @@ use Drupal\Core\Render\Element;
/**
* Builds the shortcut set customize form.
*
* @internal
*/
class SetCustomize extends EntityForm {
@@ -7,6 +7,8 @@ use Drupal\Core\Url;
/**
* Builds the shortcut link deletion form.
*
* @internal
*/
class ShortcutDeleteForm extends ContentEntityDeleteForm {
@@ -10,6 +10,8 @@ use Drupal\Core\Database\Connection;
/**
* Builds the shortcut set deletion form.
*
* @internal
*/
class ShortcutSetDeleteForm extends EntityDeleteForm {
@@ -11,6 +11,8 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
/**
* Builds the shortcut set switch form.
*
* @internal
*/
class SwitchShortcutSet extends FormBase {
@@ -7,6 +7,8 @@ use Drupal\Core\Form\FormStateInterface;
/**
* Form handler for the shortcut entity forms.
*
* @internal
*/
class ShortcutForm extends ContentEntityForm {
@@ -7,6 +7,8 @@ use Drupal\Core\Form\FormStateInterface;
/**
* Form handler for the shortcut set entity edit forms.
*
* @internal
*/
class ShortcutSetForm extends BundleEntityFormBase {
@@ -65,6 +65,11 @@ class ShortcutLinksTest extends ShortcutTestBase {
'/admin/config/system/site-information',
];
// Test the add shortcut form UI. Test that the base field description is
// there.
$this->drupalGet('admin/config/user-interface/shortcut/manage/' . $set->id() . '/add-link');
$this->assertRaw('The location this shortcut points to.');
// Check that each new shortcut links where it should.
foreach ($test_cases as $test_path) {
$title = $this->randomMachineName();