BehaviorInvokerInterface::processEntity() should not throw plugin exceptions

Created on 22 June 2023, about 1 year ago

Problem/Motivation

\Drupal\rabbit_hole\BehaviorInvokerInterface::processEntity() describes that the following exceptions were thrown:

@throws \Drupal\Component\Plugin\Exception\PluginException
@throws \Drupal\Component\Plugin\Exception\PluginNotFoundException

It doesn't make sense, as it should be handled in ::getBehaviorPlugin() plugin. If plugin is not available, then method should return NULL.

πŸ“Œ Task
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine Matroskeen πŸ‡ΊπŸ‡¦ Ukraine, Lutsk

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024