You are here

public function GroupInterface::getContent in Group 8

Same name and namespace in other branches
  1. 2.0.x src/Entity/GroupInterface.php \Drupal\group\Entity\GroupInterface::getContent()

Retrieves all GroupContent entities for the group.

Parameters

string $plugin_id: (optional) A content enabler plugin ID to filter on.

array $filters: (optional) An associative array of extra filters where the keys are property or field names and the values are the value to filter on.

Return value

\Drupal\group\Entity\GroupContentInterface[] A list of GroupContent entities matching the criteria.

1 method overrides GroupInterface::getContent()
Group::getContent in src/Entity/Group.php
Retrieves all GroupContent entities for the group.

File

src/Entity/GroupInterface.php, line 60

Class

GroupInterface
Provides an interface defining a Group entity.

Namespace

Drupal\group\Entity

Code

public function getContent($plugin_id = NULL, $filters = []);