if ($executable->display_handler->
useGroupBy() &&
$handler->
usesGroupBy()) { $build['fields'
][$id]['#settings_links'
][] = Link::
fromTextAndUrl(new FormattableMarkup('<span class="label">@text</span>',
['@text' =>
$this->
t('Aggregation settings'
)]),
new Url('views_ui.form_handler_group',
[ 'js' => 'nojs',
'view' =>
$view->
id(),
'display_id' =>
$display['id'
],
'type' =>
$type,
'id' =>
$id,
],
['attributes' =>
['class' =>
['views-button-configure', 'views-ajax-link'
], 'title' =>
$this->
t('Aggregation settings'
)]]))->
toString();
} if ($handler->
hasExtraOptions()) { $build['fields'
][$id]['#settings_links'
][] = Link::
fromTextAndUrl(new FormattableMarkup('<span class="label">@text</span>',
['@text' =>
$this->
t('Settings'
)]),
new Url('views_ui.form_handler_extra',
[ 'js' => 'nojs',
'view' =>
$view->
id(),
'display_id' =>
$display['id'
],
'type' =>
$type,
'id' =>
$id,
],
['attributes' =>
['class' =>
['views-button-configure', 'views-ajax-link'
], 'title' =>
$this->
t('Settings'
)]]))->
toString();
} if ($grouping) { $gid =
$handler->options
['group'
];