public function DevelImagesProviderBase::settingsFormSubmit in Devel images provider 7
Same name and namespace in other branches
- 8 plugins/devel_image_provider/provider/base.inc \DevelImagesProviderBase::settingsFormSubmit()
Generates a settings form submit function for this handler.
Overrides DevelImagesProviderInterface::settingsFormSubmit
File
- plugins/
devel_image_provider/ provider/ base.inc, line 97 - Base devel image providers plugin class.
Class
- DevelImagesProviderBase
- An abstract implementation of DevelImagesProviderInterface.
Code
public function settingsFormSubmit(&$form, &$form_state) {
$values = $form_state['values']['config_providers']['devel_image_provider_' . $this->plugin['name']];
variable_set('devel_image_provider_settings_' . $this->plugin['name'], $values);
}