In the previous section we defined some default attributes of our IMEI component. Now we are going to define the actual component edit page using the Drupal Form API. This is the user interface that website administrators will use to change the defaults we specified previously.
Note that we are not defining the entire component edit page here. The data in this function will be utilized to supplement the default component edit form which already includes the Label and Field Key textfields. We are only specifying the additional fields required for the specific setup of our IMEI components.
Let us add the edit form functionality to our
/** * Implements _webform_edit_component(). */ function ...