You are here

public function RlDateRecurRule::getFrequency in Recurring Dates Field 8.2

Same name and namespace in other branches
  1. 3.x src/Rl/RlDateRecurRule.php \Drupal\date_recur\Rl\RlDateRecurRule::getFrequency()
  2. 3.0.x src/Rl/RlDateRecurRule.php \Drupal\date_recur\Rl\RlDateRecurRule::getFrequency()
  3. 3.1.x src/Rl/RlDateRecurRule.php \Drupal\date_recur\Rl\RlDateRecurRule::getFrequency()

Get the frequency for the rule.

Return value

string The frequency for the rule.

Overrides DateRecurRuleInterface::getFrequency

File

src/Rl/RlDateRecurRule.php, line 39

Class

RlDateRecurRule
RRule object.

Namespace

Drupal\date_recur\Rl

Code

public function getFrequency() : string {
  return $this->parts['FREQ'];
}