- Issue created by @pdureau
- π©πͺGermany Christian.wiedemann
Christian.wiedemann β made their first commit to this issueβs fork.
- Merge request !98Resolve #3438952 "2.0.0 alpha2 uipatternssampleentitygenerator access" β (Merged) created by Christian.wiedemann
- Status changed to Needs review
6 months ago 3:27pm 15 May 2024 - π©πͺGermany Christian.wiedemann
The variable is only available for Nodes. Right now I don't see any usecase to set the node to preview mode. I think we can remove it safely.
- π«π·France pdureau Paris
Proposals:
We duplicated SampleEntityGeneratorInterface from layout_builder module, so:
- let's add a comment to explain why we did the copy (to avoid a dependency to this module)
- let's add the variables typing
UiPatternsSampleEntityGenerator:
- Can you rename SampleEntityGenerator?
- And change the comment to not make people believe it is only related to Layout Builder.
- let's add the variables typing
- Status changed to Needs work
6 months ago 8:26am 17 May 2024 - Status changed to Needs review
6 months ago 10:02pm 18 May 2024 - Status changed to Needs work
6 months ago 7:41pm 20 May 2024 - π«π·France pdureau Paris
thanks Christian for the update. It is 99% perfect.
Is it relevant to add the type of the parameters here?
public function get($entity_type_id, $bundle_id): EntityInterface;
and here?
public function delete($entity_type_id, $bundle_id) :SampleEntityGeneratorInterface;
Did you run?
phpcbf --standard=Drupal --extensions=php,module path/to/module phpcs --standard=Drupal --extensions=php,module path/to/module
What does "successor" means here?
Generates a sample entity for use by the UI Patterns successors.
Can you rebase your MR?
- Status changed to Needs review
6 months ago 9:52pm 22 May 2024 -
pdureau β
committed 6ab5f9e3 on 2.0.x authored by
Christian.wiedemann β
Issue #3438952 by Christian.wiedemann: UiPatternsSampleEntityGenerator:...
-
pdureau β
committed 6ab5f9e3 on 2.0.x authored by
Christian.wiedemann β
- Status changed to Fixed
6 months ago 10:52pm 22 May 2024 - Issue was unassigned.
Automatically closed - issue fixed for 2 weeks with no activity.