CoolCMS API

GoogleSearchConsoleConnection
in package
implements ConnectionTypeInterface

FinalYes

Google Search Console — content of the `google-site-verification` meta tag.

Table of Contents

Interfaces

ConnectionTypeInterface
A kind of external connection the system knows how to use (reCAPTCHA, maps…).

Constants

CODE  : string = 'google_search_console'
FIELD_VERIFICATION  : string = 'verification'

Methods

check()  : ConnectionCheck|null
Verifies the given values against the third party. Null = this type cannot be verified remotely.
getCode()  : string
Stable identifier stored in `cms_system_external_connections.type`.
getFields()  : array<int, ConnectionField>
getGroup()  : string|null
Connections of the same group are alternatives (e.g. `captcha`: reCAPTCHA v2 or v3) — only one of them should be enabled. Null = independent connection.
supportsCheck()  : bool
Can the credentials be verified remotely? Decides whether the administration offers the check.

Constants

Methods

getCode()

Stable identifier stored in `cms_system_external_connections.type`.

public getCode() : string
Return values
string

getGroup()

Connections of the same group are alternatives (e.g. `captcha`: reCAPTCHA v2 or v3) — only one of them should be enabled. Null = independent connection.

public getGroup() : string|null
Return values
string|null

supportsCheck()

Can the credentials be verified remotely? Decides whether the administration offers the check.

public supportsCheck() : bool
Return values
bool
On this page

Search results