You are here

public function ContentBlockPluginInterface::query in Open Social 8.8

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

Create filtering query.

Parameters

\Drupal\Core\Database\Query\SelectInterface $query: The query.

array $fields: The fields.

3 methods override ContentBlockPluginInterface::query()
EventContentBlock::query in modules/social_features/social_content_block/modules/social_event_content_block/src/Plugin/ContentBlock/EventContentBlock.php
Create filtering query.
GroupContentBlock::query in modules/social_features/social_content_block/modules/social_group_content_block/src/Plugin/ContentBlock/GroupContentBlock.php
Create filtering query.
TopicContentBlock::query in modules/social_features/social_content_block/src/Plugin/ContentBlock/TopicContentBlock.php
Create filtering query.

File

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

Class

ContentBlockPluginInterface
Interface ContentBlockPluginInterface.

Namespace

Drupal\social_content_block

Code

public function query(SelectInterface $query, array $fields);