public function DefaultDateRecurOccurrenceHandler::onFieldDelete in Recurring Dates Field 8
Reacts to field deletion.
Parameters
\Drupal\Core\Field\FieldStorageDefinitionInterface $fieldDefinition: The field definition.
Overrides DateRecurOccurrenceHandlerInterface::onFieldDelete
File
- src/
Plugin/ DateRecurOccurrenceHandler/ DefaultDateRecurOccurrenceHandler.php, line 282
Class
- DefaultDateRecurOccurrenceHandler
- Provides the default occurrence handler.
Namespace
Drupal\date_recur\Plugin\DateRecurOccurrenceHandlerCode
public function onFieldDelete(FieldStorageDefinitionInterface $fieldDefinition) {
$this
->dropOccurrenceTable($fieldDefinition);
}