projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Further Drupal 8.6.4 changes. Some core files were not committed before a commit...
[yaffs-website]
/
web
/
core
/
modules
/
field_ui
/
src
/
Form
/
FieldConfigEditForm.php
diff --git
a/web/core/modules/field_ui/src/Form/FieldConfigEditForm.php
b/web/core/modules/field_ui/src/Form/FieldConfigEditForm.php
index 34868add47965c6719192e0022eff96778a7f681..af6de89f6b41951b104b075691849109e6d6b05b 100644
(file)
--- a/
web/core/modules/field_ui/src/Form/FieldConfigEditForm.php
+++ b/
web/core/modules/field_ui/src/Form/FieldConfigEditForm.php
@@
-77,7
+77,7
@@
class FieldConfigEditForm extends EntityForm {
$ids = (object) [
'entity_type' => $this->entity->getTargetEntityTypeId(),
'bundle' => $this->entity->getTargetBundle(),
$ids = (object) [
'entity_type' => $this->entity->getTargetEntityTypeId(),
'bundle' => $this->entity->getTargetBundle(),
- 'entity_id' => NULL
+ 'entity_id' => NULL
,
];
$form['#entity'] = _field_create_entity_from_ids($ids);
$items = $form['#entity']->get($this->entity->getName());
];
$form['#entity'] = _field_create_entity_from_ids($ids);
$items = $form['#entity']->get($this->entity->getName());
@@
-177,7
+177,7
@@
class FieldConfigEditForm extends EntityForm {
public function save(array $form, FormStateInterface $form_state) {
$this->entity->save();
public function save(array $form, FormStateInterface $form_state) {
$this->entity->save();
-
drupal_set_message
($this->t('Saved %label configuration.', ['%label' => $this->entity->getLabel()]));
+
$this->messenger()->addStatus
($this->t('Saved %label configuration.', ['%label' => $this->entity->getLabel()]));
$request = $this->getRequest();
if (($destinations = $request->query->get('destinations')) && $next_destination = FieldUI::getNextDestination($destinations)) {
$request = $this->getRequest();
if (($destinations = $request->query->get('destinations')) && $next_destination = FieldUI::getNextDestination($destinations)) {