Code

Categories

Component ID

1498396

Component name

Code

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

This module creates a new field called Code. This field allows users to enter code in various data format such as PHP code (the field will collect the returned value), INI format, JSON format, XML format, and YAML format.

This module also adds field formatter which enables the Code field to output various code formats, which are the conversion results of original entered code text. This code output can be configured to only output specific data formats.

At the moment this module only converts from one data format to another (PHP, INI, JSON, XML, and YAML). In the future, this module will support more features such as Drush installation profile generation, content type and field creation, views creation, webform configuration, etc.

So the goal of this project is to allow user to copy, for example: XML code, and then use this XML code to create content types, fields, views in another Drupal installation.