Skip to content
Snippets Groups Projects
Commit 7f8c6b53 authored by Jess's avatar Jess Committed by Tim Plunkett
Browse files

Issue #1805996 by xjm: Remove stale references to CCK.

parent f2af4e80
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -17,8 +17,7 @@
*
* They can handle creating Views from a Drupal page hook; they can
* handle creating Views from a Drupal block hook. They can also
* handle creating Views from an external module source, such as
* a Panels pane, or an insert view, or a CCK field type.
* handle creating Views from an external module source.
*/
/**
......
......@@ -1289,8 +1289,7 @@ function render_altered($alter, $tokens) {
function render_trim_text($alter, $value) {
if (!empty($alter['strip_tags'])) {
// NOTE: It's possible that some external fields might override the
// element type so if someone from, say, CCK runs into a bug here,
// this may be why =)
// element type.
$this->definition['element type'] = 'span';
}
return views_trim_text($alter, $value);
......
......@@ -275,7 +275,6 @@ function field_views_field_default_views_data($field) {
if (count($field['columns']) == 1 || $column == 'value') {
$title = t('@label (!name)', array('@label' => $label, '!name' => $field['field_name']));
// CCK used the first 10 characters of $label. Probably doesn't matter.
$title_short = $label;
}
else {
......@@ -311,7 +310,6 @@ function field_views_field_default_views_data($field) {
if ($group_name != $groups[$entity_name] || $label != $label_name) {
if (count($field['columns']) == 1 || $column == 'value') {
$alias_title = t('@label (!name)', array('@label' => $label_name, '!name' => $field['field_name']));
// CCK used the first 10 characters of $label. Probably doesn't matter.
}
else {
$alias_title = t('@label (!name:!column)', array('@label' => $label_name, '!name' => $field['field_name'], '!column' => $column));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment