You are here

protected function SortableViewsStyleTrait::javascriptSelector in Sortableviews 8

Returns Sizzle/CSS compatible selector.

The selector to the container of sortable elements starting from .view-content.

Return value

string The selector (any string) or literally "self" when the actual container is .view-content itself.

1 call to SortableViewsStyleTrait::javascriptSelector()
SortableViewsStyleTrait::render in src/SortableViewsStyleTrait.php
2 methods override SortableViewsStyleTrait::javascriptSelector()
SortableHtmlList::javascriptSelector in src/Plugin/views/style/SortableHtmlList.php
Returns Sizzle/CSS compatible selector.
SortableTable::javascriptSelector in src/Plugin/views/style/SortableTable.php
Returns Sizzle/CSS compatible selector.

File

src/SortableViewsStyleTrait.php, line 84

Class

SortableViewsStyleTrait
Provides sortable functionality for View styles.

Namespace

Drupal\sortableviews

Code

protected function javascriptSelector() {
  return 'self';
}