You are here

public function DateRecurItem::isRecurring in Recurring Dates Field 8.2

Same name and namespace in other branches
  1. 3.x src/Plugin/Field/FieldType/DateRecurItem.php \Drupal\date_recur\Plugin\Field\FieldType\DateRecurItem::isRecurring()
  2. 3.0.x src/Plugin/Field/FieldType/DateRecurItem.php \Drupal\date_recur\Plugin\Field\FieldType\DateRecurItem::isRecurring()
  3. 3.1.x src/Plugin/Field/FieldType/DateRecurItem.php \Drupal\date_recur\Plugin\Field\FieldType\DateRecurItem::isRecurring()

Determine whether the field value is recurring/repeating.

Return value

bool Whether the field value is recurring.

1 call to DateRecurItem::isRecurring()
DateRecurItem::getHelper in src/Plugin/Field/FieldType/DateRecurItem.php
Get the helper for this field item.

File

src/Plugin/Field/FieldType/DateRecurItem.php, line 401

Class

DateRecurItem
Plugin implementation of the 'date_recur' field type.

Namespace

Drupal\date_recur\Plugin\Field\FieldType

Code

public function isRecurring() : bool {
  return !empty($this->rrule);
}