function Rule::exportFlat

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

Class

Rule
An actual rule.

Code

protected function exportFlat() {
  return $this->isRoot();
}