Apple_Exporter\Components\Body::set_default_layout PHP Method

set_default_layout() private method

Set the default layout for the component.
private set_default_layout ( )
    private function set_default_layout()
    {
        $this->json['layout'] = 'body-layout';
        $this->register_layout('body-layout', array('columnStart' => $this->get_col_start(), 'columnSpan' => $this->get_setting('body_column_span'), 'margin' => array('top' => 12, 'bottom' => 12)));
        // Also pre-register the layout that will be used later for the last body component
        $this->register_layout('body-layout-last', array('columnStart' => $this->get_col_start(), 'columnSpan' => $this->get_setting('body_column_span'), 'margin' => array('top' => 12, 'bottom' => 30)));
    }