public function PageContentBlock::query in Open Social 10.1.x
Same name and namespace in other branches
- 10.3.x modules/social_features/social_content_block/modules/social_page_content_block/src/Plugin/ContentBlock/PageContentBlock.php \Drupal\social_page_content_block\Plugin\ContentBlock\PageContentBlock::query()
- 10.2.x modules/social_features/social_content_block/modules/social_page_content_block/src/Plugin/ContentBlock/PageContentBlock.php \Drupal\social_page_content_block\Plugin\ContentBlock\PageContentBlock::query()
Create filtering query.
Parameters
\Drupal\Core\Database\Query\SelectInterface $query: The query.
array $fields: The fields.
Overrides ContentBlockPluginInterface::query
File
- modules/
social_features/ social_content_block/ modules/ social_page_content_block/ src/ Plugin/ ContentBlock/ PageContentBlock.php, line 23
Class
- PageContentBlock
- Provides a content block for pags.
Namespace
Drupal\social_page_content_block\Plugin\ContentBlockCode
public function query(SelectInterface $query, array $fields) {
}