You are here

public function ContentBlockPluginInterface::supportedSortOptions in Open Social 8.9

Same name and namespace in other branches
  1. 8.8 modules/social_features/social_content_block/src/ContentBlockPluginInterface.php \Drupal\social_content_block\ContentBlockPluginInterface::supportedSortOptions()
  2. 10.3.x modules/social_features/social_content_block/src/ContentBlockPluginInterface.php \Drupal\social_content_block\ContentBlockPluginInterface::supportedSortOptions()
  3. 10.0.x modules/social_features/social_content_block/src/ContentBlockPluginInterface.php \Drupal\social_content_block\ContentBlockPluginInterface::supportedSortOptions()
  4. 10.1.x modules/social_features/social_content_block/src/ContentBlockPluginInterface.php \Drupal\social_content_block\ContentBlockPluginInterface::supportedSortOptions()
  5. 10.2.x modules/social_features/social_content_block/src/ContentBlockPluginInterface.php \Drupal\social_content_block\ContentBlockPluginInterface::supportedSortOptions()

The sort options that are supported for this content block type.

Used to configure the sorting field storage as well as the content block form.

Return value

array An array with sorting option's system name as key and a human readable label as value.

1 method overrides ContentBlockPluginInterface::supportedSortOptions()
ContentBlockBase::supportedSortOptions in modules/social_features/social_content_block/src/ContentBlockBase.php
The sort options that are supported for this content block type.

File

modules/social_features/social_content_block/src/ContentBlockPluginInterface.php, line 34

Class

ContentBlockPluginInterface
Interface ContentBlockPluginInterface.

Namespace

Drupal\social_content_block

Code

public function supportedSortOptions() : array;