summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2014-03-26 22:24:40 (GMT)
committerAlex Pott2014-03-26 22:25:08 (GMT)
commitc40d1173aed04ba84a703f82251f8468517eceac (patch)
treeb32490b82ae0c48cc6cff79ba6f9e1b4c39313b4
parentbee18ab165cacf186b4b0eefcb72b578d32f91bf (diff)
Issue #2201693 followup by plopesc, Sweetchuck, rodrigoaguilera: Field output supporting code should move out of field.module.
-rw-r--r--core/modules/field/field.module24
1 files changed, 0 insertions, 24 deletions
diff --git a/core/modules/field/field.module b/core/modules/field/field.module
index 013c3d8..2342667 100644
--- a/core/modules/field/field.module
+++ b/core/modules/field/field.module
@@ -298,30 +298,6 @@ function _field_filter_xss_display_allowed_tags() {
}
/**
- * Implements hook_page_build().
- */
-function field_page_build(&$page) {
- $path = drupal_get_path('module', 'field');
- $page['#attached']['css'][$path . '/css/field.module.css'] = array('every_page' => TRUE);
-}
-
-/**
- * Implements hook_theme_suggestions_HOOK().
- */
-function field_theme_suggestions_field(array $variables) {
- $suggestions = array();
- $element = $variables['element'];
-
- $suggestions[] = 'field__' . $element['#field_type'];
- $suggestions[] = 'field__' . $element['#field_name'];
- $suggestions[] = 'field__' . $element['#entity_type'] . '__' . $element['#bundle'];
- $suggestions[] = 'field__' . $element['#entity_type'] . '__' . $element['#field_name'];
- $suggestions[] = 'field__' . $element['#entity_type'] . '__' . $element['#field_name'] . '__' . $element['#bundle'];
-
- return $suggestions;
-}
-
-/**
* @} End of "defgroup field".
*/