backdrop-contrib / entity_plus

This module wraps in a variety of additional entity-related functionality from various sources. Partial port of D7 Entity API.
https://backdropcms.org/project/entity_plus
GNU General Public License v2.0
3 stars 11 forks source link

Provide a function that returns a metadata wrapper for 'site' #102

Closed argiepiano closed 2 years ago

argiepiano commented 2 years ago

D7's Entity API provided entity_metadata_site_wrapper() that returned a wrapper for 'site'. While property info IS provided in Entity Plus (in file system.info.inc, function entity_plus_metadata_system_entity_property_info()), the function that actually provides a wrapper did not make it into Entity Plus.

Instead, whoever ported Entity Tokens noticed this issue and included this function within that module to provide the site wrapper. This function should be now moved to Entity Plus, as we are moving other metadata functions from Entity Tokens to Entity Plus (see #77).

PR #103