protected function InstagramApiTrait::setToken in Instagram Feeds 8
Sets the token service.
Parameters
\Drupal\Core\Utility\Token $token: The token service.
Return value
$this
File
- src/
InstagramApiTrait.php, line 140
Class
- InstagramApiTrait
- Instagram API Trait.
Namespace
Drupal\instagram_feedsCode
protected function setToken(Token $token) {
$this->token = $token;
return $this;
}