public function OAuth2ServerClientMetadataController::entityPropertyInfo in OAuth2 Server 7
Overrides EntityDefaultMetadataController::entityPropertyInfo
File
- ./
oauth2_server.info.inc, line 32 - Provides Entity metadata integration.
Class
Code
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;
}