daily pastebin goal
10%
SHARE
TWEET

Untitled

a guest Dec 15th, 2018 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. case 'c_content_title':
  2.         if ($fields[$field_key]['field_instance']['bundle'] == 'service-push') {
  3.           foreach($fields[$field_key]['field_instance']['display'] as $view_mode => $info) {
  4.             if ($view_mode == 'c_push_33') {
  5.               $fields[$field_key]['field_instance']['display']['default'] = array(
  6.                 'label' => 'hidden',
  7.                 'module' => 'cartierfo_generic',
  8.                 'settings' => array(),
  9.                 'type' => 'cartierfo_generic_contextual_link',
  10.                 'weight' => $fields[$field_key]['field_instance']['display']['default']['weight'],
  11.               );
  12.             }
  13.           }
  14.         }
  15.        break;
  16.       case 'c_content_link':
  17.         if ($fields[$field_key]['field_instance']['bundle'] == 'service-push') {
  18.           foreach($fields[$field_key]['field_instance']['display'] as $view_mode => $info) {
  19.             if ($view_mode == 'c_push_33') {
  20.               $fields[$field_key]['field_instance']['display']['default'] = array(
  21.                 'label' => 'hidden',
  22.                 'module' => 'link',
  23.                 'settings' => array(),
  24.                 'type' => 'link_title_plain',
  25.                 'weight' => $fields[$field_key]['field_instance']['display']['default']['weight'],
  26.               );
  27.             }
  28.           }
  29.         }
  30.         break;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top