<?php
$careersBlock = array (
'key' => 'careersBlock',
'label' => 'Careers Block',
'name' => 'careers-block',
'type' => 'group',
'sub_fields' => array(
array(
'key' => 'careersBlock_title',
'label' => 'Title',
'name' => 'title',
'type' => 'text',
'instructions' => '',
'required' => 1,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'hide_block',
'label' => 'Hide this block from anchor links',
'name' => 'hide_block',
'type' => 'true_false',
'instructions' => '',
'required' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'message' => '',
'default_value' => 0,
'ui' => 1,
'ui_on_text' => '',
'ui_off_text' => '',
),
array(
'key' => 'careersBlock_content',
'label' => 'Content',
'name' => 'content',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'default_value' => '',
'placeholder' => '',
'prepend' => '',
'append' => '',
'maxlength' => '',
),
array(
'key' => 'careersBlock_image',
'label' => 'Background Image',
'name' => 'image',
'type' => 'image',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'return_format' => 'url',
'preview_size' => 'medium',
'library' => 'all',
'min_width' => 1000,
'min_height' => '',
'min_size' => '',
'max_width' => 3000,
'max_height' => '',
'max_size' => '',
'mime_types' => '',
),
array(
'key' => 'field_5bbf3a9e564c4js',
'label' => 'CTA',
'name' => 'cta',
'type' => 'group',
'instructions' => '',
'required' => 1,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'layout' => 'table',
'sub_fields' => array(
array(
'key' => 'field_5bbf3ab7564c5s',
'label' => 'Button label',
'name' => 'label',
'type' => 'text',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
),
array(
'key' => 'field_5bd2d35e6cf46s',
'label' => 'Link',
'name' => 'url',
'type' => 'link',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array(
'width' => '',
'class' => '',
'id' => '',
),
'return_format' => 'url',
),
),
),
),
);
array_push($_SESSION["blocks"], $careersBlock);