Loading src/Form/BlockClassSettingsForm.php +7 −0 Original line number Diff line number Diff line Loading @@ -165,6 +165,13 @@ class BlockClassSettingsForm extends ConfigFormBase { '#title' => $this->t("Quantity of classes per block"), '#type' => 'number', '#default_value' => $qty_classes_per_block, // Show the qty_classes_per_block only when the field type is multiple // because is the only type that is used. '#states' => [ 'visible' => [ ':input[name="field_type"]' => ['value' => 'multiple_textfields'], ], ], ]; $maxlength_block_class_field = 255; Loading Loading
src/Form/BlockClassSettingsForm.php +7 −0 Original line number Diff line number Diff line Loading @@ -165,6 +165,13 @@ class BlockClassSettingsForm extends ConfigFormBase { '#title' => $this->t("Quantity of classes per block"), '#type' => 'number', '#default_value' => $qty_classes_per_block, // Show the qty_classes_per_block only when the field type is multiple // because is the only type that is used. '#states' => [ 'visible' => [ ':input[name="field_type"]' => ['value' => 'multiple_textfields'], ], ], ]; $maxlength_block_class_field = 255; Loading