Source#

Whenever you're dealing with an source in your template, you're actually working with a Source object.

Attributes#

AttributeDescription
nameThe name of the source.
handleThe handle of the source.
enabledWhether the source is enabled or not.
primaryColorThe primary brand color of the provider connected.
iconThe SVG icon of the source provider connected.
providerNameThe name of the source provider connected.

Methods#

MethodDescription
isConfigured()Whether the source provider has been configured.
isConnected()Whether the source provider has been connected and has a token.
getToken()The access token for a source provider.
getPosts(options)Returns a collection of Post objects.

Previous ← Feed Next Source Provider →