public function BookContentBlock::query in Open Social 10.2.x
Same name and namespace in other branches
- 10.3.x modules/social_features/social_content_block/modules/social_book_content_block/src/Plugin/ContentBlock/BookContentBlock.php \Drupal\social_book_content_block\Plugin\ContentBlock\BookContentBlock::query()
- 10.1.x modules/social_features/social_content_block/modules/social_book_content_block/src/Plugin/ContentBlock/BookContentBlock.php \Drupal\social_book_content_block\Plugin\ContentBlock\BookContentBlock::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_book_content_block/ src/ Plugin/ ContentBlock/ BookContentBlock.php, line 23
Class
- BookContentBlock
- Provides a content block for books.
Namespace
Drupal\social_book_content_block\Plugin\ContentBlockCode
public function query(SelectInterface $query, array $fields) {
}