$title =
$this->
t('None'
);
} $options['title'
] =
[ 'category' => 'title',
'title' =>
$this->
t('Title'
),
'value' =>
views_ui_truncate($title, 32
),
'desc' =>
$this->
t('Change the title that this display will use.'
),
];
$style_plugin_instance =
$this->
getPlugin('style'
);
$style_summary =
empty($style_plugin_instance->definition
['title'
]) ?
$this->
t('Missing style plugin'
) :
$style_plugin_instance->
summaryTitle();
$style_title =
empty($style_plugin_instance->definition
['title'
]) ?
$this->
t('Missing style plugin'
) :
$style_plugin_instance->
pluginTitle();
$options['style'
] =
[ 'category' => 'format',
'title' =>
$this->
t('Format'
),
'value' =>
$style_title,
'setting' =>
$style_summary,
'desc' =>
$this->
t('Change the way content is formatted.'
),
];
// This adds a 'Settings' link to the style_options setting if the style has