Need to create a schema for auto entity label configurations as mentioned in the parent issue.
https://www.drupal.org/node/2876280

Comments

guptahemant created an issue. See original summary.

guptahemant’s picture

here is an attached patch please review.

guptahemant’s picture

Status: Active » Needs review
gg24’s picture

Assigned: guptahemant » gg24
gg24’s picture

Assigned: gg24 » Unassigned
piyuesh23’s picture

@guptahemant, Thanks for the patch. Looks good to me with a small possible improvement.

+++ b/config/schema/auto_entitylabel.schema.yml
@@ -0,0 +1,19 @@
+    status:

Shall we keep the label generation status boolean as well like the escape field? Semantically that would make more sense since the status value can be True/False.

Correct me if i am wrong assuming that status field can hold more values.

guptahemant’s picture

Hi @piyuesh23, Thanks for the review.Also status field can currently hold more than two values,
Hence set it to integer

Thanks,

piyuesh23’s picture

Status: Needs review » Reviewed & tested by the community

Cool. Then this is good to be merged in. Marking RTBC.

purushotam.rai’s picture

Status: Reviewed & tested by the community » Patch (to be ported)

purushotam.rai’s picture

Status: Patch (to be ported) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.