You are here

function config_pages_save in Config Pages 7

Saves a config_pages to the database.

Parameters

$config_pages: The config_pages object.

2 calls to config_pages_save()
config_pages_features_rebuild in ./config_pages.features.inc
Implements hook_features_rebuild().
config_pages_import_form_submit in ./config_pages.admin.inc
config_pages_import_form submit handler.

File

./config_pages.module, line 436
This module is based on Model module (https://drupal.org/project/model) and most of the comments left untouched but have entity types renamed. Suuport for features added.

Code

function config_pages_save(ConfigPages $config_pages) {
  return $config_pages
    ->save();
}