Mokys β changed the visibility of the branch 3315713-attaching-library-in to active.
Mokys β changed the visibility of the branch 3315713-attaching-library-in to hidden.
Hello, you can use "combine" with this patch to make it work. It adds magic method that was removed in the new version of Drupal.
https://www.drupal.org/project/drupal/issues/3359645 π Using $error->arrayPropertyPath returns empty everytime Active
Hello, and thank you for your question.
I have a few clarifying questions because it's not very clear to me.
When you say 'Would it be possible to automatically use the display settings of Layout Builder for the edit form.?"
Are you asking if it's possible to use Layout Builder for editing forms without having to enable the option to customize the layout for each content item? Or, are you suggesting that Layout Builder should be a simple field and enable the ability to manage the layout on the Display page?"
$route = \Drupal::routeMatch();
$entity = null;
if ($route->getRouteObject()) {
foreach ($route->getParameters() as $name => $parameter) {
if ($parameter instanceof \Drupal\Core\Entity\EntityInterface) {
$entity = $parameter;
break;
}
}
}