About Features Downloads Getting Started Documentation Events Support GitHub

Love VuFind®? Consider becoming a financial supporter. Your support helps build a better VuFind®!

Site Tools


Warning: This page has not been updated in over over a year and may be outdated or deprecated.
development:plugins:content_provider_components

This is an old revision of the document!


Content Provider Components

Starting in VuFind 2.3, content-loading capabilities (for retrieving cover images, reviews, etc. from third-party APIs) were significantly refactored to rely on plugins.

Cover Plugin Details

Cover drivers are used for retrieving cover image data. They accept an array of ID values and return the URL to an image. Building a new plugin usually consists of setting some flags in the constructor to indicate which types of identifier are supported, then building a method to convert those identifiers into a valid URL.

Default Namespace: \VuFind\Content\Covers

Base Class: \VuFind\Content\AbstractCover

Service Locator Configuration Section in module.config.php: ['vufind']['plugin_managers']['content_covers']

Service Manager Name for Service Locator: VuFind\ContentCoversPluginManager

See the General Plugin Information page for more details on VuFind plugins.

development/plugins/content_provider_components.1449772230.txt.gz · Last modified: 2015/12/10 18:30 by demiankatz