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
CODE
public
string
CODE
= 'google_search_console'
FIELD_VERIFICATION
public
string
FIELD_VERIFICATION
= 'verification'
Methods
check()
Verifies the given values against the third party. Null = this type cannot be verified remotely.
public
check(array<string|int, mixed> $values) : ConnectionCheck|null
Parameters
- $values : array<string|int, mixed>
Return values
ConnectionCheck|nullgetCode()
Stable identifier stored in `cms_system_external_connections.type`.
public
getCode() : string
Return values
stringgetFields()
public
getFields() : array<int, ConnectionField>
Return values
array<int, ConnectionField>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|nullsupportsCheck()
Can the credentials be verified remotely? Decides whether the administration offers the check.
public
supportsCheck() : bool