You are here

public function SmartDateTrait::supportsDateAugmenter in Smart Date 3.4.x

Explicitly declare support for the Date Augmenter API.

Return value

bool Return TRUE to declare support.

1 method overrides SmartDateTrait::supportsDateAugmenter()
SmartDateRecurrenceFormatter::supportsDateAugmenter in modules/smart_date_recur/src/Plugin/Field/FieldFormatter/SmartDateRecurrenceFormatter.php
Explicitly declare support for the Date Augmenter API.

File

src/SmartDateTrait.php, line 168

Class

SmartDateTrait
Provides friendly methods for smart date range.

Namespace

Drupal\smart_date

Code

public function supportsDateAugmenter() {

  // Could have conditional logic here.
  return TRUE;
}