get(); } public function hasOAuthStandardOptions() { // This logic must be mirrored in external_services.js return in_array($this->service_type, [ self::FACEBOOK, self::GOOGLE, self::TWITTER ]); } public function isDropbox() { // This logic must be mirrored in external_services.js return $this->service_type == self::DROPBOX; } }