Hello, I will work on this issue! :)
Hello,
I’ve fixed the previous errors related to the src/PropSource/StaticPropSource.php file.
Since the branch was quite outdated, I had to rebase it. After rebasing, the PR started showing the following errors:
------ ---------------------------------------------------------------------------------------------------
Line src/Plugin/ExperienceBuilder/ComponentSource/GeneratedFieldExplicitInputUxComponentSourceBase.php
------ ---------------------------------------------------------------------------------------------------
178 Class
Drupal\experience_builder\Plugin\ExperienceBuilder\ComponentSource\ComponentInputs
not found.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
179 Call to method getValues() on an unknown class
Drupal\experience_builder\Plugin\ExperienceBuilder\ComponentSource\ComponentInputs.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
------ ---------------------------------------------------------------------------------------------------
[ERROR] Found 2 errors
To fix the first one, I believe I need to add:
use Drupal\experience_builder\Plugin\DataType\ComponentInputs;
However, I’m unsure whether this ComponentInputs class is the intended one, as the error references:
Drupal\experience_builder\Plugin\ExperienceBuilder\ComponentSource\ComponentInputs
Could someone clarify if these refer to the same class or if the correct one is missing from the patch?
I would like to continue working on this.
Thanks!
Hi, I fixed the grammatical error in this MR12. Could anyone review it? If there are any problems, please let me know.
Hello, I am working on this issue!
natnatalia → created an issue.
Hello, I am working on this ticket!
Hello, I have updated the patch to Drupal Core 10.3.2. Please check the attachment.
Updated for Drupal 10.3.0
Added in the ShorthandStory entity class baseFieldDefinitions() the setDisplayOptions part.
natnatalia → created an issue.