You are here

public function Base::getDefaultMethod in GA Push 8

Return default method.

Return value

string Defaut method.

2 calls to Base::getDefaultMethod()
Base::getMethod in src/Plugin/RulesAction/Base.php
Get ga push method type.
Event::isDatalayerMethod in src/Plugin/RulesAction/Event.php
Check if selected method is datalayer.

File

src/Plugin/RulesAction/Base.php, line 33

Class

Base
Base class to ga push rule actions.

Namespace

Drupal\ga_push\Plugin\RulesAction

Code

public function getDefaultMethod() {
  return \Drupal::config('ga_push.settings')
    ->get('default_method');
}