function RulesLoopUI::buildContent

Overrides RulesContainerPluginUI::buildContent

File

ui/ui.plugins.inc, line 249

Class

RulesLoopUI
UI for Rules loops.

Code

public function buildContent() {
    $content = parent::buildContent();
    $content['description']['item'] = array(
        '#caption' => t('List item'),
        '#theme' => 'rules_content_group',
    );
    $content['description']['item']['var'] = array(
        '#theme' => 'rules_variable_view',
        '#info' => $this->element
            ->listItemInfo(),
        '#name' => $this->element->settings['item:var'],
    );
    return $content;
}