public function ProductBundleSettingsForm::buildForm in Commerce Product Bundle 8
Defines the settings form for product bundle entities.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Return value
array Form definition array.
Overrides FormInterface::buildForm
File
- src/
Form/ ProductBundleSettingsForm.php, line 48
Class
- ProductBundleSettingsForm
- Provides the product bundle settings form.
Namespace
Drupal\commerce_product_bundle\FormCode
public function buildForm(array $form, FormStateInterface $form_state) {
$form['commerce_product_bundle_settings']['#markup'] = 'Settings form for product bundle entities. Manage field settings here.';
return $form;
}