X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fmodules%2Fcontrib%2Fmedia_entity_twitter%2Fconfig%2Fschema%2Fmedia_entity_twitter.schema.yml;fp=web%2Fmodules%2Fcontrib%2Fmedia_entity_twitter%2Fconfig%2Fschema%2Fmedia_entity_twitter.schema.yml;h=04c37e6ae829e9cc6c15fe8d43f6dd790cad68df;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hp=0000000000000000000000000000000000000000;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad;p=yaffs-website diff --git a/web/modules/contrib/media_entity_twitter/config/schema/media_entity_twitter.schema.yml b/web/modules/contrib/media_entity_twitter/config/schema/media_entity_twitter.schema.yml new file mode 100644 index 000000000..04c37e6ae --- /dev/null +++ b/web/modules/contrib/media_entity_twitter/config/schema/media_entity_twitter.schema.yml @@ -0,0 +1,33 @@ +media_entity_twitter.settings: + type: config_object + label: 'Media entity Twitter settings' + mapping: + local_images: + type: string + label: 'Base folder for thumbnails' + +media_entity.bundle.type.twitter: + type: mapping + label: 'Twitter type configuration' + mapping: + source_field: + type: string + label: 'Field with embed code/URL' + use_twitter_api: + type: boolean + label: 'Whether to use twitter api or not' + consumer_key: + type: string + label: 'Field with Consumer key' + consumer_secret: + type: string + label: 'Field with Consumer secret' + oauth_access_token: + type: string + label: 'Field with Oauth access token' + oauth_access_token_secret: + type: string + label: 'Field with Oauth access token secret' + generate_thumbnails: + type: boolean + label: 'Enable automatic thumbnail generation'