Alter paragraph bundles form

by MiharbKH   Last Updated December 06, 2018 15:07 PM

Hello Drupal developers,

I'm working on a Drupal 8 project, I use the contrib module paragraphs I've created a bundle X of paragraph with two fields F1 and F2. Now what I want really do is altering the form of that bundle and add some properties using form API to F1 and F2. hook_form_alter() doesn't work for me even when I choosed default value of paragraph form display opened. And hook_field_widget_WIDGET_TYPE_form_alter() doesn't help to alter bundle form fields.

Any help!

Tags : 8 paragraphs


Related Questions






Add paragraph element programmatically

Updated March 27, 2017 14:07 PM