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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
EntityDefaultMetadataController:: |
protected | property | ||
EntityDefaultMetadataController:: |
public static | function | A options list callback returning all bundles for an entity type. | |
EntityDefaultMetadataController:: |
protected | function | Return a set of properties for an entity based on the schema definition | |
EntityDefaultMetadataController:: |
public | function | ||
OAuth2ServerClientMetadataController:: |
public | function |
Overrides EntityDefaultMetadataController:: |