https://www.drupal.org/node/3532720 →
New Object oriented approach for working with form/render arrays
The web is changing fast. AI now writes content, builds web pages, and answers questions directly, often bypassing websites entirely.
People often wonder what this means for Drupal, so at DrupalCon Vienna, I tackled this head-on. My message was simple: AI is the storm, but it's also the way through it. Instead of fighting AI, we're leaning into it.
Dries Buytaert
Explanation of Changes:
-
Added a new section "Using Parameters from the URL Path" to explain how Drupal automatically passes URL path placeholders (like
{op}) as arguments to controller methods. -
Included an example route with a dynamic
{op}parameter in the path and showed how it maps to controller arguments. -
Added a section "Fixed Parameters via Defaults vs Dynamic Parameters via URL" to clarify the difference between:
-
Using fixed parameters defined in the route’s
defaults(e.g.,op: enable), which always passes the same value to the controller. -
Using dynamic parameters defined as URL path placeholders (e.g.,
{op}), which pass different values depending on the URL accessed.
-
-
Included examples for both cases with explanations of when and why to use each approach.
These additions clarify the two common ways to pass parameters to controllers in Drupal routing and provide practical examples relevant to your op use case for enabling/disabling blocks. This helps readers understand routing flexibility and choose the best method for their needs.
@dydave @ressa Guys, you are great. You did a good job.
check DRUPAL_ROOT . '/libraries/quicklink/dist/quicklink.umd.js'
update the summary
I have added a title to the container. Pls review
pls review
fixed
pls review & merge
needs review
Thanks!
Yes, sure.
1. Create a module
2. You need to describe the service as an event subscriber
3. Create an EventSubscriber directory in the src folder
4. Create the subscriber class itself
There is a book with a code, at the address you can see events https://selwynpolit.github.io/d9book/events
services:
my_module.roles_subscriber:
class: Drupal\my_module\EventSubscriber\ClassSubscriber
arguments: []
tags:
- { name: event_subscriber }
<?php
namespace Drupal\my_module\EventSubscriber;
use Drupal\registration_role\Event\SelectRoleEvent;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
class ClassSubscriber implements EventSubscriberInterface {
public static function getSubscribedEvents() {
$events[SelectRoleEvent::SELECT_ROLE_EVENT][] = ['registrationRole', 0];
return $events;
}
public function registrationRole(SelectRoleEvent $event) {
$user = $event->getUser();
... logic ...
}
}
darkdim → changed the visibility of the branch 3380038-how-to-conditionally to hidden.
Dear Sourabh Sisodia → ,
I would like to express my sincere gratitude for your valuable contribution to the project. Your efforts and dedication have made a significant impact on the success of our work.
We appreciate your professionalism, enthusiasm, and talent demonstrated during the execution of the task/project [name of the task or project]. Your participation and expertise have been invaluable in achieving our goals.
Thank you for your time, energy, and diligence invested in the project. We look forward to further collaboration and successful interaction in the future.
Best regards
Please note that variables from the configuration are transferred to the CSS.
I am for it! Hamas must be demanded to return the hostages and punish those responsible for the attack and murder of October 7, 2023. Evil must be punished.
darkdim → changed the visibility of the branch 3415243-option-to-bulk to hidden.
darkdim → changed the visibility of the branch 3415243-option-to-bulk to hidden.
some upgrade
added di container
- Apply patch
- run update db
- action will be added, on /admin/content page check any nodes and get action 'Generate metatag' from drop-down list
- metatags will only be processed for the specified types in /admin/config/content/metatag-ai/content-type
Please add instructions regarding your solution and how it can be tested.
Yes, I will do it.
I'm not sure if the permissions have been added correctly. We can discuss this.
Referrer /admin/config/content/formats
Message InvalidArgumentException: Property label with value CountUp does not exist on Drupal\ckeditor5\Plugin\CKEditor5PluginDefinition. in Drupal\ckeditor5\Plugin\CKEditor5PluginDefinition->__construct() (line 52 of .../www/web/core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php).
Severity Error
I've some error with enable countup module
+