EntityConverter::__construct

public EntityConverter::__construct(EntityManagerInterface $entity_manager) Constructs a new EntityConverter. Parameters \Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager. File core/lib/Drupal/Core/ParamConverter/EntityConverter.php, line 54 Class EntityConverter Parameter converter for upcasting entity IDs to full objects. Namespace Drupal\Core\ParamConverter Code public function __construct(EntityManagerInterface $entity_manager) { $this->entityMana

FormState::isRedirectDisabled

public FormState::isRedirectDisabled() Determines if redirecting has been prevented. Return value bool If TRUE, the form will not redirect. Overrides FormStateInterface::isRedirectDisabled File core/lib/Drupal/Core/Form/FormState.php, line 650 Class FormState Stores information about the state of a form. Namespace Drupal\Core\Form Code public function isRedirectDisabled() { return $this->no_redirect; }

SingleFlushStrategy

Defines the 'single_flush' placeholder strategy. This is designed to be the fallback strategy, so should have the lowest priority. All placeholders that are not yet replaced at this point will be rendered as is and delivered directly. Hierarchy class \Drupal\Core\Render\Placeholder\SingleFlushStrategy implements PlaceholderStrategyInterface File core/lib/Drupal/Core/Render/Placeholder/SingleFlushStrategy.php, line 12 Namespace Drupal\Core\Render\Placeholder Members Name Modifiers

ExceptionLoggingSubscriber::getSubscribedEvents

public static ExceptionLoggingSubscriber::getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. The array keys are event names and the value can be: The method name to call (priority defaults to 0) An array composed of the method name to call and the priority An array of arrays composed of the method names to call and respective priorities, or 0 if unset For instance: array('eventName' => 'methodName') array('eventName' => array('methodName', $prior

MenuLinkTreeInterface::getExpanded

public MenuLinkTreeInterface::getExpanded($menu_name, array $parents) Finds expanded links in a menu given a set of possible parents. Parameters string $menu_name: The menu name. array $parents: One or more parent IDs to match. Return value array The menu link IDs that are flagged as expanded in this menu. File core/lib/Drupal/Core/Menu/MenuLinkTreeInterface.php, line 127 Class MenuLinkTreeInterface Defines an interface for loading, transforming and rendering menu link trees. Namespace

EnforcedFormResponseSubscriber::getSubscribedEvents

public static EnforcedFormResponseSubscriber::getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. The array keys are event names and the value can be: The method name to call (priority defaults to 0) An array composed of the method name to call and the priority An array of arrays composed of the method names to call and respective priorities, or 0 if unset For instance: array('eventName' => 'methodName') array('eventName' => array('methodName', $p

ContentEntityBase::TRANSLATION_CREATED

Status code identifying a newly created translation. File core/lib/Drupal/Core/Entity/ContentEntityBase.php, line 34 Class ContentEntityBase Implements Entity Field API specific enhancements to the Entity class. Namespace Drupal\Core\Entity Code const TRANSLATION_CREATED = 2;

RenderCache::maxAgeToExpire

protected RenderCache::maxAgeToExpire($max_age) Maps a #cache[max-age] value to an "expire" value for the Cache API. Parameters int $max_age: A #cache[max-age] value. Return value int A corresponding "expire" value. See also \Drupal\Core\Cache\CacheBackendInterface::set() File core/lib/Drupal/Core/Render/RenderCache.php, line 283 Class RenderCache Wraps the caching logic for the render caching system. Namespace Drupal\Core\Render Code protected function maxAgeToExpire($max_age) {

MenuRouterRebuildSubscriber::getSubscribedEvents

static MenuRouterRebuildSubscriber::getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. The array keys are event names and the value can be: The method name to call (priority defaults to 0) An array composed of the method name to call and the priority An array of arrays composed of the method names to call and respective priorities, or 0 if unset For instance: array('eventName' => 'methodName') array('eventName' => array('methodName', $priority))

datetime.module

Field hooks to implement a simple datetime field. File core/modules/datetime/datetime.module Functions Name Description datetime_date_default_time Sets a consistent time on a date without time. datetime_help Implements hook_help(). Constants Name Description DATETIME_DATETIME_STORAGE_FORMAT Defines the format that date and time should be stored in. DATETIME_DATE_STORAGE_FORMAT Defines the format that dates should be stored in. DATETIME_STORAGE_TIMEZONE Defines th