comparison core/modules/node/src/NodeViewsData.php @ 18:af1871eacc83

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:33:08 +0100
parents 129ea1e6d783
children
comparison
equal deleted inserted replaced
17:129ea1e6d783 18:af1871eacc83
246 $data['node_revision']['revision_uid']['help'] = $this->t('Relate a content revision to the user who created the revision.'); 246 $data['node_revision']['revision_uid']['help'] = $this->t('Relate a content revision to the user who created the revision.');
247 $data['node_revision']['revision_uid']['relationship']['label'] = $this->t('revision user'); 247 $data['node_revision']['revision_uid']['relationship']['label'] = $this->t('revision user');
248 248
249 $data['node_field_revision']['table']['wizard_id'] = 'node_field_revision'; 249 $data['node_field_revision']['table']['wizard_id'] = 'node_field_revision';
250 250
251 $data['node_field_revision']['table']['join']['node_field_data']['left_field'] = 'vid';
252 $data['node_field_revision']['table']['join']['node_field_data']['field'] = 'vid';
253
254 $data['node_field_revision']['status']['filter']['label'] = $this->t('Published'); 251 $data['node_field_revision']['status']['filter']['label'] = $this->t('Published');
255 $data['node_field_revision']['status']['filter']['type'] = 'yes-no'; 252 $data['node_field_revision']['status']['filter']['type'] = 'yes-no';
256 $data['node_field_revision']['status']['filter']['use_equal'] = TRUE; 253 $data['node_field_revision']['status']['filter']['use_equal'] = TRUE;
257 254
258 $data['node_field_revision']['promote']['help'] = $this->t('A boolean indicating whether the node is visible on the front page.'); 255 $data['node_field_revision']['promote']['help'] = $this->t('A boolean indicating whether the node is visible on the front page.');