protected function TestMenuConfiguration::createConfigToExport in Configuration Management 7.2
This function creates the configurations that will be exported by configuration management.
Overrides ConfigurationHandlerBaseTestCase::createConfigToExport
File
- tests/
handlers/ TestMenuConfiguration.test, line 83 - Tests for Configuration Management: Menus.
Class
- TestMenuConfiguration
- @file Tests for Configuration Management: Menus.
Code
protected function createConfigToExport() {
$menu = array(
'menu_name' => 'menu-drupal',
'title' => 'My menu',
'description' => 'This is my menu',
);
menu_save($menu);
}