protected function Rule::exportFlat in Rules 7.2
Determines whether the element should be exported in flat style.
Flat style means that the export keys are written directly into the export array, whereas else the export is written into a sub-array.
Overrides RulesContainerPlugin::exportFlat
File
- includes/
rules.plugins.inc, line 300 - Contains plugin info and implementations not needed for rule evaluation.
Class
- Rule
- An actual rule.
Code
protected function exportFlat() {
return $this
->isRoot();
}