Commit a83becbd authored by webchick's avatar webchick

Issue #1255696 by dagmar, lslinnet, swentel, jenlampton, sun: Move field type...

Issue #1255696 by dagmar, lslinnet, swentel, jenlampton, sun: Move field type modules into separate 'Field type' package.
parent dc544e2f
name: Datetime
type: module
description: Defines datetime form elements and a datetime field type.
package: Core
package: Field types
version: VERSION
core: 8.x
dependencies:
......
name: E-mail
type: module
description: 'Defines a field type for e-mail addresses.'
package: Core
package: Field types
version: VERSION
core: 8.x
dependencies:
......
name: 'Entity Reference'
type: module
description: 'Provides a field that can reference other entities.'
package: Core
package: Field types
version: VERSION
core: 8.x
dependencies:
......
name: File
type: module
description: 'Defines a file field type.'
package: Core
package: Field types
version: VERSION
core: 8.x
dependencies:
......
name: Image
type: module
description: 'Defines an image field type and provides image manipulation tools.'
package: Core
package: Field types
version: VERSION
core: 8.x
dependencies:
......
......@@ -2,7 +2,7 @@ name: Link
type: module
description: 'Provides a simple link field type.'
core: 8.x
package: Core
package: Field types
version: VERSION
dependencies:
- field
......@@ -125,7 +125,7 @@ function testConfigTranslation() {
$this->assertFalse($string, 'Configuration strings have been created upon installation.');
// Enable the image module.
$this->drupalPostForm('admin/modules', array('modules[Core][image][enable]' => "1"), t('Save configuration'));
$this->drupalPostForm('admin/modules', array('modules[Field types][image][enable]' => "1"), t('Save configuration'));
$this->resetAll();
$string = $this->storage->findString(array('source' => 'Medium (220x220)', 'context' => '', 'type' => 'configuration'));
......
name: Number
type: module
description: 'Defines numeric field types.'
package: Core
package: Field types
version: VERSION
core: 8.x
dependencies:
......
name: Options
type: module
description: 'Defines selection, check box and radio button widgets for text and numeric fields.'
package: Core
package: Field types
version: VERSION
core: 8.x
dependencies:
......
......@@ -136,11 +136,11 @@ function testModuleEnableOrder() {
$this->assertModules(array('forum'), FALSE);
$this->assertText(t('You must enable the History, Taxonomy, Options, Number, Comment, Datetime, Ban, XML-RPC modules to install Forum.'));
$edit['modules[Core][history][enable]'] = 'history';
$edit['modules[Core][options][enable]'] = 'options';
$edit['modules[Core][number][enable]'] = 'number';
$edit['modules[Field types][options][enable]'] = 'options';
$edit['modules[Field types][number][enable]'] = 'number';
$edit['modules[Core][taxonomy][enable]'] = 'taxonomy';
$edit['modules[Core][comment][enable]'] = 'comment';
$edit['modules[Core][datetime][enable]'] = 'datetime';
$edit['modules[Field types][datetime][enable]'] = 'datetime';
$edit['modules[Core][ban][enable]'] = 'ban';
$edit['modules[Core][xmlrpc][enable]'] = 'xmlrpc';
$this->drupalPostForm('admin/modules', $edit, t('Save configuration'));
......
name: Telephone
type: module
description: 'Defines a field type for telephone numbers.'
package: Core
package: Field types
version: VERSION
core: 8.x
dependencies:
......
name: Text
type: module
description: 'Defines simple text field types.'
package: Core
package: Field types
version: VERSION
core: 8.x
dependencies:
......
......@@ -78,7 +78,7 @@ function testAdministratorRole() {
$edit = array();
$edit['modules[Core][aggregator][enable]'] = TRUE;
// Aggregator depends on file module, enable that as well.
$edit['modules[Core][file][enable]'] = TRUE;
$edit['modules[Field types][file][enable]'] = TRUE;
$this->drupalPostForm('admin/modules', $edit, t('Save configuration'));
$this->assertTrue(user_access('administer news feeds', $this->admin_user), 'The permission was automatically assigned to the administrator role');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment