No, this does not work, because I do not use v2 of address module, therefore there no "addressLine3".
With this changes you get a warning, when you do not use v2 of address module.
Warning: Undefined array key "addressLine3" in Drupal\address_display\Plugin\Field\FieldFormatter\AddressDisplayFormatter->getLabels() (line 115 of modules/contrib/address_display/src/Plugin/Field/FieldFormatter/AddressDisplayFormatter.php).
hexabinaer → credited tobiasb → .
anonymous (0) has is also valid owner. When you open Node 8 you should see owner.
❯ ddev drush php
Psy Shell v0.12.4 (PHP 8.1.30 — cli) by Justin Hileman
OpenCulturas (Drupal 10.3.6)
> \Drupal\node\Entity\Node::load(100)->getOwnerId();
= "0"
Something other must be broken.
Thx. Commited to 2.3.x and cherry-picked to 2.2.x. As a reminder there is also a block "Bookmark flag icon".
Technically it is still not possible, to set a own active_domain. But I can not remember why it was needed.
$url = Url::fromUserInput("/admin", ["active_domain" => Domain::load("my_domain_2")]);
$form['link'] = [
'#type' => 'link',
'#url' => $url,
'#title' => $url->toString()
];
fyi: Simple config does not support the concept of dependencies.
Thx. Commited to 2.3.x and cherry-picked to 2.2.x.
MR updated + missing type hints.
MR updated + missing typehints.
I move the patch into a MR and fixes the rejected changes + typehints.
The post update uses now core/modules/views/src/ViewsConfigUpdater.php and moves the test into \Drupal\Tests\views\Functional\Plugin\FilterTest, because there are also other test for \Drupal\views\Plugin\views\filter\FilterPluginBase.
The composer.json is broken.
@johnv It is better to write your questions in the MR.
* IIFEs does not have a function name. example: https://git.drupalcode.org/project/drupal/-/blob/11.x/core/misc/ajax.js?...
* The check for slot is gone
* I reuse the pattern data-drupal-selector again
Drupal core does not support native buttons via form api, therefore we hardcode the buttons. But I added a todo with a link to 📌 Use form element type instead of Needs work .
Lets use the officially tag.
I do not like the way. I mean you can just add cast by yourself. there is no win/improvement without do the cast by default.
$id = (int) $entity->getRevisionId(); // NULL -> 0
if ($id) {
// Do something.
}
Cast by default:
$id = $entity->getRevisionId(); // NULL || >= 1
if ($id) {
// Do something.
}
I would just do the cast by default in 12.x.
@amer cloudy
You need to keep the headline and custom text below the headline.
placeholder is also
tobiasb → created an issue. See original summary → .
@cilefen
The caller are spambots. Spambots does not do what we want. ;-)
I mean do we have issue like:
Why does this not work?
$config = \Drupal::configFactory()->getEditable('Über.settings');
or
drush cget 'Über.settings'
The patch does what would happen, when you only use ASCII or postgres (?). Page 404, so I am happy. :D
The exception DatabaseExceptionWrapper
in the new test are not thrown or should not. So try/catch can be removed.
I would replace it with just a request to /node/add/Über
which should return a 404.
With postgres this should already throw a not found exception.
And because we do not use native typehints to force config name is string. the $value
should not be null
in mb_check_encoding
(deprecated).
Such request are done by spambots, which triggers a false-positive in your app-monitoring software. So I am happy, with a notfound exception, but not with any other which triggers a false-positive problem.
For the record:
* size comes core datetime element, should only be added, when type is text
* same for placeholder
* funny, but clever data-help
comes from core just for IE11
https://www.drupal.org/node/3081864 →
(Todo find/create core issue)
Static patch file for https://www.drupal.org/project/openculturas → .
But the css.
Scope is claro. But claro does not remove the styling. ;-)
tobiasb → created an issue. See original summary → .
tobiasb → made their first commit to this issue’s fork.
Done.
Done.
It is easier to make it atm just overridable.
Had the same.
I would say lets close the MR and issue with status Closed: works as designed
.
I just provide always the entity_importer route parameters in \Drupal\entity_import\Entity\EntityImporterFieldMapping::urlRouteParameters
.
There are more use-cases /node/add/öüä
, /media/add/öüä
, admin/structure/views/view/öüä
. So any config name.