DeveloperAppBaseFieldConfigForm.php in Apigee Edge 8
File
src/Form/DeveloperAppBaseFieldConfigForm.php
View source
<?php
namespace Drupal\apigee_edge\Form;
class DeveloperAppBaseFieldConfigForm extends BaseFieldConfigFromBase {
public function getFormId() {
return 'apigee_edge_developer_app_base_field_config_form';
}
protected function entityType() : string {
return 'developer_app';
}
protected function getLockedBaseFields() : array {
return $this
->config('apigee_edge.developer_app_settings')
->get('locked_base_fields');
}
protected function saveRequiredBaseFields(array $required_base_fields) : void {
$this
->configFactory()
->getEditable('apigee_edge.developer_app_settings')
->set('required_base_fields', $required_base_fields)
->save();
}
}