Here is the list of the most complex expressions used in the code. A complex expression is an expression that requires more than 20 tokens to be build.
Literal arrays are omitted.
| File | Count | Expression |
|---|---|---|
| /includes/entity.ui.inc:592 | 1 | $items[$this->path . '/add'] = array('title callback' => 'entity_ui_get_action_title', 'title arguments' => array('add', $this->entityType), 'page callback' => 'entity_ui_bundle_add_page', 'page arguments' => array($this->entityType), 'access callback' => 'entity_access', 'access arguments' => array('create', $this->entityType), 'type' => MENU_LOCAL_ACTION, ) |
| /includes/entity.ui.inc:526 | 1 | $items[$this->path . '/' . $wildcard] = array('title callback' => 'entity_ui_get_page_title', 'title arguments' => array('view', $this->entityType, $this->id_count), 'page callback' => 'entity_ui_entity_page_view', 'page arguments' => array($this->id_count), 'load arguments' => array($this->entityType), 'access callback' => 'entity_access', 'access arguments' => array('view', $this->entityType, $this->id_count), ) + $defaults |
| /includes/entity.ui.inc:520 | 1 | $defaults = array('file' => $this->entityInfo['admin ui']['file'], 'file path' => isset($this->entityInfo['admin ui']['file path']) ? $this->entityInfo['admin ui']['file path'] : drupal_get_path('module', $this->entityInfo['module']), ) |
| /includes/entity.ui.inc:273 | 1 | $row[] = array('data' => array('#theme' => 'entity_ui_overview_item', '#label' => entity_label($this->entityType, $entity), '#name' => !empty($this->entityInfo['exportable']) ? entity_id($this->entityType, $entity) : FALSE, '#url' => $entity_uri ? $entity_uri : FALSE, '#entity_type' => $this->entityType), ) |
| /modules/system.info.inc:63 | 1 | $properties['current_page'] = array('label' => t("Current page"), 'description' => t("Information related to the current page request."), 'getter callback' => 'entity_metadata_system_get_properties', 'type' => 'struct', 'property info' => array('path' => array('label' => t("Path"), 'description' => t("The internal Drupal path of the current page request."), 'getter callback' => 'current_path', 'type' => 'text', ), 'url' => array('label' => t("URL"), 'description' => t("The full URL of the current page request."), 'getter callback' => 'entity_metadata_system_get_page_properties', 'type' => 'uri', ), ), ) |
| /includes/entity.ui.inc:601 | 1 | $items[$this->path . '/add/%'] = array('title callback' => 'entity_ui_get_action_title', 'title arguments' => array('add', $this->entityType, $this->id_count + 1), 'page callback' => 'entity_ui_get_bundle_add_form', 'page arguments' => array($this->entityType, $this->id_count + 1), 'access callback' => 'entity_access', 'access arguments' => array('create', $this->entityType), ) |
| /includes/entity.ui.inc:56 | 1 | $items[$this->path . '/add'] = array('title callback' => 'entity_ui_get_action_title', 'title arguments' => array('add', $this->entityType), 'page callback' => 'entity_ui_get_form', 'page arguments' => array($this->entityType, NULL, 'add'), 'access callback' => 'entity_access', 'access arguments' => array('create', $this->entityType), 'type' => MENU_LOCAL_ACTION, ) |
| /includes/entity.ui.inc:42 | 1 | $items[$this->path] = array('title' => $plural_label, 'page callback' => 'drupal_get_form', 'page arguments' => array($this->entityType . '_overview_form', $this->entityType), 'description' => 'Manage ' . $plural_label . '.', 'access callback' => 'entity_access', 'access arguments' => array('view', $this->entityType), 'file' => 'includes/entity.ui.inc', ) |
| /ctools/relationships/entity_property.inc:96 | 1 | $form['concatenator'] = array('#title' => t('Concatenator (if multiple)'), '#type' => 'select', '#options' => array(',' => ', (AND)', '+' => '+ (OR)'), '#default_value' => $conf['concatenator'], '#prefix' => '<div class="clearfix">', '#suffix' => '</div>', '#description' => t("When the resulting value is multiple valued and the context is passed on to a view as argument, the value can be concatenated in the form of 1+2+3 (for OR) or 1,2,3 (for AND)."), ) |
| /ctools/relationships/entity_property.inc:12 | 1 | $plugin = array('title' => t('Entity property or field (via Entity Metadata Wrapper)'), 'description' => t('Creates any kind of context for entity properties and fields.'), 'context' => 'entity_entity_property_context', 'required context' => new ctools_context_required(t('Entity'), 'entity'), 'edit form' => 'entity_entity_property_edit_form', 'edit form validate' => 'entity_entity_property_edit_form_validate', 'defaults' => array('selector' => '', 'target_context' => 'entity', 'concatenator' => ','), ) |
| /includes/entity.ui.inc:102 | 1 | $items[$this->path . '/import'] = array('title callback' => 'entity_ui_get_action_title', 'title arguments' => array('import', $this->entityType), 'page callback' => 'drupal_get_form', 'page arguments' => array($this->entityType . '_operation_form', $this->entityType, NULL, 'import'), 'access callback' => 'entity_access', 'access arguments' => array('create', $this->entityType), 'file' => 'includes/entity.ui.inc', 'type' => MENU_LOCAL_ACTION, ) |
| /includes/entity.ui.inc:91 | 1 | $items[$this->path . '/manage/' . $wildcard . '/%'] = array('page callback' => 'drupal_get_form', 'page arguments' => array($this->entityType . '_operation_form', $this->entityType, $this->id_count + 1, $this->id_count + 2), 'load arguments' => array($this->entityType), 'access callback' => 'entity_access', 'access arguments' => array('delete', $this->entityType, $this->id_count + 1), 'file' => 'includes/entity.ui.inc', ) |
| /includes/entity.ui.inc:82 | 1 | $items[$this->path . '/manage/' . $wildcard . '/clone'] = array('title' => 'Clone', 'page callback' => 'entity_ui_get_form', 'page arguments' => array($this->entityType, $this->id_count + 1, 'clone'), 'load arguments' => array($this->entityType), 'access callback' => 'entity_access', 'access arguments' => array('create', $this->entityType), ) |
| /includes/entity.ui.inc:65 | 1 | $items[$this->path . '/manage/' . $wildcard] = array('title' => 'Edit', 'title callback' => 'entity_label', 'title arguments' => array($this->entityType, $this->id_count + 1), 'page callback' => 'entity_ui_get_form', 'page arguments' => array($this->entityType, $this->id_count + 1), 'load arguments' => array($this->entityType), 'access callback' => 'entity_access', 'access arguments' => array('update', $this->entityType, $this->id_count + 1), ) |
| /views/entity.views.inc:587 | 1 | $return += $description + array('field' => array('real field' => $views_field_name, 'handler' => 'views_handler_field_date', 'click sortable' => TRUE, ), 'sort' => array('real field' => $views_field_name, 'handler' => 'views_handler_sort_date', ), 'filter' => array('real field' => $views_field_name, 'handler' => 'views_handler_filter_date', ), 'argument' => array('real field' => $views_field_name, 'handler' => 'views_handler_argument_date', ), ) |
| /views/entity.views.inc:609 | 1 | $return += $description + array('field' => array('real field' => $views_field_name, 'handler' => 'entity_views_handler_field_duration', 'click sortable' => TRUE, ), 'sort' => array('real field' => $views_field_name, 'handler' => 'views_handler_sort', ), 'filter' => array('real field' => $views_field_name, 'handler' => 'views_handler_filter_numeric', ), 'argument' => array('real field' => $views_field_name, 'handler' => 'views_handler_argument_numeric', ), ) |
| /views/entity.views.inc:631 | 1 | $return += $description + array('field' => array('real field' => $views_field_name, 'handler' => 'views_handler_field_url', 'click sortable' => TRUE, ), 'sort' => array('real field' => $views_field_name, 'handler' => 'views_handler_sort', ), 'filter' => array('real field' => $views_field_name, 'handler' => 'views_handler_filter_string', ), 'argument' => array('real field' => $views_field_name, 'handler' => 'views_handler_argument_string', ), ) |
| /views/entity.views.inc:653 | 1 | $return += $description + array('field' => array('real field' => $views_field_name, 'handler' => 'views_handler_field_boolean', 'click sortable' => TRUE, ), 'sort' => array('real field' => $views_field_name, 'handler' => 'views_handler_sort', ), 'filter' => array('real field' => $views_field_name, 'handler' => 'views_handler_filter_boolean_operator', ), 'argument' => array('real field' => $views_field_name, 'handler' => 'views_handler_argument_string', ), ) |
| /views/handlers/entity_views_handler_field_duration.inc:86 | 1 | $form['granularity'] = array('#type' => 'textfield', '#title' => t('Granularity'), '#default_value' => $this->options['granularity'], '#description' => t('Specify how many different units to display.'), '#dependency' => array('edit-options-format-interval' => array(TRUE)), '#size' => 2, ) |
| /views/handlers/entity_views_field_handler_helper.inc:36 | 1 | $form['list']['mode'] = array('#type' => 'select', '#title' => t('List handling'), '#options' => array('collapse' => t('Concatenate values using a seperator'), 'list' => t('Output values as list'), 'first' => t('Show first (if present)'), 'count' => t('Show item count'), ), '#default_value' => $handler->options['list']['mode'], ) |
| /views/handlers/entity_views_field_handler_helper.inc:53 | 1 | $form['list']['type'] = array('#type' => 'select', '#title' => t('List type'), '#options' => array('ul' => t('Unordered'), 'ol' => t('Ordered'), ), '#default_value' => $handler->options['list']['type'], '#dependency' => array('edit-options-list-mode' => array('list')), ) |
| /views/handlers/entity_views_handler_area_entity.inc:27 | 1 | $form['entity_type'] = array('#type' => 'select', '#title' => t('Entity type'), '#options' => $entity_type_options, '#description' => t('Choose the entity type you want to display in the area.'), '#default_value' => $entity_type, '#ajax' => array('path' => views_ui_build_form_url($form_state), ), '#submit' => array('views_ui_config_item_form_submit_temporary'), '#executes_submit_callback' => TRUE, ) |
| /entity.rules.inc:52 | 1 | $items[$type . '_view'] = $defaults + array('label' => t('@entity is viewed', array('@entity' => $label)), 'variables' => entity_rules_events_variables($type, t('viewed @entity', array('@entity' => drupal_strtolower($label)))) + array('view_mode' => array('type' => 'text', 'label' => t('view mode'), 'options list' => 'rules_get_entity_view_modes', 'options list entity type' => $type, ), ), ) |
| /views/entity.views.inc:59 | 1 | $data['views_entity_' . $entity_type]['rendered_entity'] = array('title' => t('Rendered @entity-type', array('@entity-type' => $info['label'])), 'help' => t('The @entity-type of the current relationship rendered using a view mode.', array('@entity-type' => $info['label'])), 'field' => array('handler' => 'entity_views_handler_field_entity', 'type' => $entity_type, 'real field' => 'entity object', ), ) |
| /views/entity.views.inc:380 | 1 | $data[$table]['table']['base'] = array('field' => $this->info['entity keys']['id'], 'access query tag' => $this->type . '_access', 'title' => drupal_ucfirst($label), 'help' => isset($this->info['description']) ? $this->info['description'] : '', ) |
| /views/entity.views.inc:409 | 1 | $data[$revision_table]['table']['base'] = array('field' => $this->info['entity keys']['revision'], 'access query tag' => $this->type . '_access', 'title' => drupal_ucfirst($label) . ' ' . t('Revisions'), 'help' => (isset($this->info['description']) ? $this->info['description'] . ' ' : '') . t('Revisions'), ) |
| /views/entity.views.inc:509 | 1 | $this->relationships[$info['base table']][$name] = array('title' => $this->info['label'], 'help' => t("Associated @label via the @label's @property.", array('@label' => $label_lowercase, '@property' => $property_label_lowercase)), 'relationship' => array('label' => $this->info['label'], 'handler' => $this->getRelationshipHandlerClass($this->type, $type), 'base' => $this->info['base table'], 'base field' => $views_field_name, 'relationship field' => isset($info['entity keys']['name']) ? $info['entity keys']['name'] : $info['entity keys']['id'], ), ) |
| /views/entity.views.inc:521 | 1 | $return['relationship'] = array('label' => drupal_ucfirst($info['label']), 'handler' => $this->getRelationshipHandlerClass($type, $this->type), 'base' => $info['base table'], 'base field' => isset($info['entity keys']['name']) ? $info['entity keys']['name'] : $info['entity keys']['id'], 'relationship field' => $views_field_name, ) |
| /views/entity.views.inc:541 | 1 | $return += $description + array('field' => array('real field' => $views_field_name, 'handler' => 'views_handler_field', 'click sortable' => TRUE, ), 'sort' => array('real field' => $views_field_name, 'handler' => 'views_handler_sort', ), 'filter' => array('real field' => $views_field_name, 'handler' => 'views_handler_filter_string', ), 'argument' => array('real field' => $views_field_name, 'handler' => 'views_handler_argument_string', ), ) |
| /views/entity.views.inc:564 | 1 | $return += $description + array('field' => array('real field' => $views_field_name, 'handler' => 'views_handler_field_numeric', 'click sortable' => TRUE, 'float' => ($type == 'decimal'), ), 'sort' => array('real field' => $views_field_name, 'handler' => 'views_handler_sort', ), 'filter' => array('real field' => $views_field_name, 'handler' => 'views_handler_filter_numeric', ), 'argument' => array('real field' => $views_field_name, 'handler' => 'views_handler_argument_numeric', ), ) |
| /entity_token.tokens.inc:140 | 1 | $info['types']["list<$token_type>"] = array('name' => t('List of @entities', array('@entities' => isset($entity_info[$type]['plural label']) ? $entity_info[$type]['plural label'] : $entity_info[$type]['label'] . 's')), 'description' => t('Tokens related to the "@name" entities.', array('@name' => $entity_info[$type]['label'])), 'needs-data' => "list<$token_type>", ) |
| /entity.api.php:168 | 1 | $return = array('entity_test' => array('label' => t('Test Entity'), 'entity class' => 'Entity', 'controller class' => 'EntityAPIController', 'base table' => 'entity_test', 'module' => 'entity_test', 'fieldable' => TRUE, 'entity keys' => array('id' => 'pid', 'name' => 'name', 'bundle' => 'type', ), 'bundles' => array( ), ), ) |
| /entity.i18n.inc:138 | 1 | $info[$this->entityType] = array('title' => $this->entityInfo['label'], 'key' => $id_key, 'placeholders' => array($wildcard => $id_key, ), 'string translation' => array('textgroup' => $this->textgroup, 'type' => $this->entityType, 'properties' => $this->translatableProperties( ), ), ) |
| /entity_token.tokens.inc:155 | 1 | $info['tokens']["list<$token_type>"][$i] = array('name' => t('@type with delta @delta', array('@delta' => $i, '@type' => $info['types'][$token_type]['name'])), 'description' => t('The list item with delta @delta. Delta values start from 0 and are incremented by one per list item.', array('@delta' => $i)), 'type' => $token_type, ) |
| /modules/callbacks.inc:711 | 1 | if(isset($entity->uid) && $op != 'delete' && (($entity->uid == $account->uid && $entity->uid) || (!$entity->uid && $op == 'view'))) { /**/ } |