public function ContentBlockPluginInterface::supportedSortOptions in Open Social 8.8
Same name and namespace in other branches
- 8.9 modules/social_features/social_content_block/src/ContentBlockPluginInterface.php \Drupal\social_content_block\ContentBlockPluginInterface::supportedSortOptions()
- 10.3.x modules/social_features/social_content_block/src/ContentBlockPluginInterface.php \Drupal\social_content_block\ContentBlockPluginInterface::supportedSortOptions()
- 10.0.x modules/social_features/social_content_block/src/ContentBlockPluginInterface.php \Drupal\social_content_block\ContentBlockPluginInterface::supportedSortOptions()
- 10.1.x modules/social_features/social_content_block/src/ContentBlockPluginInterface.php \Drupal\social_content_block\ContentBlockPluginInterface::supportedSortOptions()
- 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_blockCode
public function supportedSortOptions() : array;