fewbricks\bricks\demo_standard_list::set_fields PHP Method

set_fields() public method

This is where all the fields for the brick will be set-
public set_fields ( )
    public function set_fields()
    {
        $this->add_field(new acf_fields\text('List headline', 'list_headline', '1509052105r'));
        $this->add_common_field('demo_background_color', '1509052128y');
        $this->add_repeater((new acf_fields\repeater('Items', 'list_items', '1509052105s'))->add_sub_field(new acf_fields\text('Item headline', 'list_item_headline', '1509072209i'))->add_sub_field(new acf_fields\textarea('Item text', 'list_item_text', '1509052124u')));
    }