<?php
$dictionary['Account']['fields']['phone_office'] = array(
'name' => 'phone_office',
'vname' => 'LBL_PHONE_OFFICE',
'type' => 'phone',
'dbType' => 'varchar',
'len' => 100,
'audited' => true,
'unified_search' => true,
'full_text_search' => array('boost' => 1),
'comment' => 'The office phone number',
'merge_filter' => 'enabled',
'displayLogic' => [
'hide_on_name' => [
'key' => 'displayType',
'modes' => [
'detail',
'edit',
'create',
],
'params' => [
'fieldDependencies' => [
'name',
],
'targetDisplayType' => 'none',
'activeOnFields' => [
'name' => ['Example'],
]
]
]
]
);