πŸ‡ΊπŸ‡¦Ukraine @Mokys

Account created on 19 March 2017, over 7 years ago
#

Recent comments

πŸ‡ΊπŸ‡¦Ukraine Mokys

Mokys β†’ changed the visibility of the branch 3315713-attaching-library-in to active.

πŸ‡ΊπŸ‡¦Ukraine Mokys

Mokys β†’ changed the visibility of the branch 3315713-attaching-library-in to hidden.

πŸ‡ΊπŸ‡¦Ukraine Mokys

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

πŸ‡ΊπŸ‡¦Ukraine Mokys

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?"

πŸ‡ΊπŸ‡¦Ukraine Mokys
$route = \Drupal::routeMatch();
$entity = null;
if ($route->getRouteObject()) {
  foreach ($route->getParameters() as $name => $parameter) {
    if ($parameter instanceof \Drupal\Core\Entity\EntityInterface) {
      $entity = $parameter;
      break;
    }
  }
}
Production build 0.71.5 2024