Search for interface

  1. Search 7.x for interface
  2. Search 9.5.x for interface
  3. Search 8.9.x for interface
  4. Search 11.x for interface
  5. Other projects
Title Object type File name Summary
CronInterface interface core/lib/Drupal/Core/CronInterface.php An interface for running cron tasks.
CronInterface.php file core/lib/Drupal/Core/CronInterface.php
CronInterface::run function core/lib/Drupal/Core/CronInterface.php Executes a cron run.
DataDefinitionInterface interface core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php Interface for data definitions.
DataDefinitionInterface.php file core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php
DataDefinitionInterface::addConstraint function core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php Adds a validation constraint.
DataDefinitionInterface::createFromDataType function core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php Creates a new data definition object.
DataDefinitionInterface::getClass function core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php Returns the class used for creating the typed data object.
DataDefinitionInterface::getConstraint function core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php Returns a validation constraint.
DataDefinitionInterface::getConstraints function core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php Returns an array of validation constraints.
DataDefinitionInterface::getDataType function core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php Returns the data type of the data.
DataDefinitionInterface::getDescription function core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php Returns a human readable description.
DataDefinitionInterface::getLabel function core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php Returns a human readable label.
DataDefinitionInterface::getSetting function core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php Returns the value of a given setting.
DataDefinitionInterface::getSettings function core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php Returns the array of settings, as required by the used class.
DataDefinitionInterface::isComputed function core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php Determines whether the data value is computed.
DataDefinitionInterface::isInternal function core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php Determines whether the data value is internal.
DataDefinitionInterface::isList function core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php Returns whether the data is multi-valued, i.e. a list of data items.
DataDefinitionInterface::isReadOnly function core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php Determines whether the data is read-only.
DataDefinitionInterface::isRequired function core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php Determines whether a data value is required.
DataReferenceDefinitionInterface interface core/lib/Drupal/Core/TypedData/DataReferenceDefinitionInterface.php Interface for typed data references.
DataReferenceDefinitionInterface.php file core/lib/Drupal/Core/TypedData/DataReferenceDefinitionInterface.php
DataReferenceDefinitionInterface::getTargetDefinition function core/lib/Drupal/Core/TypedData/DataReferenceDefinitionInterface.php Gets the data definition of the referenced data.
DataReferenceInterface interface core/lib/Drupal/Core/TypedData/DataReferenceInterface.php Interface for typed data references.
DataReferenceInterface.php file core/lib/Drupal/Core/TypedData/DataReferenceInterface.php
DataReferenceInterface::getTarget function core/lib/Drupal/Core/TypedData/DataReferenceInterface.php Gets the referenced data.
DataReferenceInterface::getTargetIdentifier function core/lib/Drupal/Core/TypedData/DataReferenceInterface.php Gets the identifier of the referenced data.
DateFormatInterface interface core/lib/Drupal/Core/Datetime/DateFormatInterface.php Provides an interface defining a date format.
DateFormatInterface.php file core/lib/Drupal/Core/Datetime/DateFormatInterface.php
DateFormatInterface::getPattern function core/lib/Drupal/Core/Datetime/DateFormatInterface.php Gets the date pattern string for this format.
DateFormatInterface::isLocked function core/lib/Drupal/Core/Datetime/DateFormatInterface.php Determines if this date format is locked.
DateFormatInterface::setPattern function core/lib/Drupal/Core/Datetime/DateFormatInterface.php Sets the date pattern for this format.
DateFormatterInterface interface core/lib/Drupal/Core/Datetime/DateFormatterInterface.php Provides an interface defining a date formatter.
DateFormatterInterface.php file core/lib/Drupal/Core/Datetime/DateFormatterInterface.php
DateFormatterInterface::format function core/lib/Drupal/Core/Datetime/DateFormatterInterface.php Formats a date, using a date type or a custom date format string.
DateFormatterInterface::formatDiff function core/lib/Drupal/Core/Datetime/DateFormatterInterface.php Formats a time interval between two timestamps.
DateFormatterInterface::formatInterval function core/lib/Drupal/Core/Datetime/DateFormatterInterface.php Formats a time interval with the requested granularity.
DateFormatterInterface::formatTimeDiffSince function core/lib/Drupal/Core/Datetime/DateFormatterInterface.php Formats the time difference from a timestamp to the current request time.
DateFormatterInterface::formatTimeDiffUntil function core/lib/Drupal/Core/Datetime/DateFormatterInterface.php Formats the time difference from the current request time to a timestamp.
DateFormatterInterface::getSampleDateFormats function core/lib/Drupal/Core/Datetime/DateFormatterInterface.php Provides values for all date formatting characters for a given timestamp.
DateSqlInterface interface core/modules/views/src/Plugin/views/query/DateSqlInterface.php Defines an interface for handling date queries with SQL.
DateSqlInterface.php file core/modules/views/src/Plugin/views/query/DateSqlInterface.php
DateSqlInterface::getDateField function core/modules/views/src/Plugin/views/query/DateSqlInterface.php Returns a native database expression for a given field.
DateSqlInterface::getDateFormat function core/modules/views/src/Plugin/views/query/DateSqlInterface.php Creates a native database date formatting.
DateSqlInterface::setFieldTimezoneOffset function core/modules/views/src/Plugin/views/query/DateSqlInterface.php Applies the given offset to the given field.
DateSqlInterface::setTimezoneOffset function core/modules/views/src/Plugin/views/query/DateSqlInterface.php Set the database to the given timezone.
DateTimeInterface interface core/lib/Drupal/Core/TypedData/Type/DateTimeInterface.php Interface for dates, optionally including a time.
DateTimeInterface.php file core/lib/Drupal/Core/TypedData/Type/DateTimeInterface.php
DateTimeInterface::getDateTime function core/lib/Drupal/Core/TypedData/Type/DateTimeInterface.php Returns the date time object.
DateTimeInterface::setDateTime function core/lib/Drupal/Core/TypedData/Type/DateTimeInterface.php Sets the date time object.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.