public function SocialPostListBuilder::setProvider in Social Post 3.x
Same name and namespace in other branches
- 8.2 src/Entity/Controller/SocialPostListBuilder.php \Drupal\social_post\Entity\Controller\SocialPostListBuilder::setProvider()
Sets the provider for the users that should be listed.
Parameters
string $provider: The provider id.
File
- src/
Entity/ Controller/ SocialPostListBuilder.php, line 82
Class
- SocialPostListBuilder
- Defines a class to build a listing of Social Post Entities.
Namespace
Drupal\social_post\Entity\ControllerCode
public function setProvider($provider) {
$this->provider = $provider;
}