Commit aed3ef2f authored by rvilar's avatar rvilar Committed by tim.plunkett
Browse files

Issue #1321364 by jim0203, rvilar, tim.plunkett | dawehner: Fixed Revision...

Issue #1321364 by jim0203, rvilar, tim.plunkett | dawehner: Fixed Revision views have node as row plugin by default.
parent 2af55370
......@@ -10,6 +10,16 @@
*/
class ViewsUiNodeRevisionViewsWizard extends ViewsUiNodeViewsWizard {
/**
* Node revisions do not support full posts or teasers, so remove them.
*/
protected function row_style_options($type) {
$options = parent::row_style_options($type);
unset($options['teasers']);
unset($options['full_posts']);
return $options;
}
protected function default_display_options($form, $form_state) {
$display_options = parent::default_display_options($form, $form_state);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment