public static function DefaultDateRecurOccurrenceHandler::getOccurrenceCacheStorageTableName in Recurring Dates Field 8
Get the name of the table containing occurrences for a field.
Parameters
\Drupal\Core\Field\FieldStorageDefinitionInterface $fieldDefinition: The field definition.
Return value
string A table name.
6 calls to DefaultDateRecurOccurrenceHandler::getOccurrenceCacheStorageTableName()
- DefaultDateRecurOccurrenceHandler::createOccurrenceTable in src/
Plugin/ DateRecurOccurrenceHandler/ DefaultDateRecurOccurrenceHandler.php - Creates an occurrence table.
- DefaultDateRecurOccurrenceHandler::dropOccurrenceTable in src/
Plugin/ DateRecurOccurrenceHandler/ DefaultDateRecurOccurrenceHandler.php - Drops an occurrence table.
- DefaultDateRecurOccurrenceHandler::init in src/
Plugin/ DateRecurOccurrenceHandler/ DefaultDateRecurOccurrenceHandler.php - Init the handler with a field item.
- DefaultDateRecurOccurrenceHandler::onDelete in src/
Plugin/ DateRecurOccurrenceHandler/ DefaultDateRecurOccurrenceHandler.php - React when a field item is deleted.
- DefaultDateRecurOccurrenceHandler::onDeleteRevision in src/
Plugin/ DateRecurOccurrenceHandler/ DefaultDateRecurOccurrenceHandler.php - React when a field item revision is deleted.
File
- src/
Plugin/ DateRecurOccurrenceHandler/ DefaultDateRecurOccurrenceHandler.php, line 229
Class
- DefaultDateRecurOccurrenceHandler
- Provides the default occurrence handler.
Namespace
Drupal\date_recur\Plugin\DateRecurOccurrenceHandlerCode
public static function getOccurrenceCacheStorageTableName(FieldStorageDefinitionInterface $fieldDefinition) {
return sprintf('date_recur__%s__%s', $fieldDefinition
->getTargetEntityTypeId(), $fieldDefinition
->getName());
}