You are here

class OAuth2ServerClientMetadataController in OAuth2 Server 7

Hierarchy

Expanded class hierarchy of OAuth2ServerClientMetadataController

1 string reference to 'OAuth2ServerClientMetadataController'
oauth2_server_entity_info in ./oauth2_server.module
Implements hook_entity_info().

File

./oauth2_server.info.inc, line 30
Provides Entity metadata integration.

View source
class OAuth2ServerClientMetadataController extends EntityDefaultMetadataController {
  public function entityPropertyInfo() {
    $info = parent::entityPropertyInfo();
    $properties =& $info[$this->type]['properties'];
    $properties['server'] = array(
      'label' => t("Server"),
      'type' => 'oauth2_server',
      'description' => t("The parent server."),
      'setter callback' => 'entity_property_verbatim_set',
      'required' => TRUE,
      'schema field' => 'server',
    );
    return $info;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
EntityDefaultMetadataController::$type protected property
EntityDefaultMetadataController::bundleOptionsList public static function A options list callback returning all bundles for an entity type.
EntityDefaultMetadataController::convertSchema protected function Return a set of properties for an entity based on the schema definition
EntityDefaultMetadataController::__construct public function
OAuth2ServerClientMetadataController::entityPropertyInfo public function Overrides EntityDefaultMetadataController::entityPropertyInfo