- Issue created by @johnv
- Assigned to bluegeek9
- Status changed to Active
3 months ago 7:27pm 20 August 2025 - πΊπΈUnited States bluegeek9
class_alias should allow us to work with both versions.
- Merge request !64Issue #3505420 by bluegeek9: RenderElement and FormElement base plugin classes... β (Open) created by bluegeek9
- π³π±Netherlands johnv
Thanks. I will use it in my other modules, too, like workflow module.
- π³π±Netherlands johnv
Oh,
is there a backslash missing?if (class_exists('\Drupal\Core\Render\Element\FormElementBase')) { class_alias( '\Drupal\Core\Render\Element\FormElementBase', 'Drupal\office_hours\Element\FormElementBase' ); } - πΊπΈUnited States bluegeek9
bluegeek9 β changed the visibility of the branch 8.x-1.x to hidden.
- πΊπΈUnited States bluegeek9
is there a backslash missing?
Good Question!
I tested it, both work. I added the slash.
- π³π±Netherlands johnv
THanks, this was a blocker for π Modernize from Annotations to Attributes Active
Automatically closed - issue fixed for 2 weeks with no activity.