FormState::setButtons

public FormState::setButtons(array $buttons) Stores the submit and button elements for the form. Parameters array $buttons: The submit and button elements. Return value $this Overrides FormStateInterface::setButtons File core/lib/Drupal/Core/Form/FormState.php, line 485 Class FormState Stores information about the state of a form. Namespace Drupal\Core\Form Code public function setButtons(array $buttons) { $this->buttons = $buttons; return $this; }

RfcLoggerTrait::notice

public RfcLoggerTrait::notice($message, array $context = array()) Normal but significant events. Parameters string $message: array $context: Return value null Overrides LoggerInterface::notice File core/lib/Drupal/Core/Logger/RfcLoggerTrait.php, line 55 Class RfcLoggerTrait A copy of \Psr\Log\LoggerTrait that uses RFC 5424 compliant log levels. Namespace Drupal\Core\Logger Code public function notice($message, array $context = array()) { $this->log(RfcLogLevel::NOTICE, $message,

Tasks::minimumVersion

public Tasks::minimumVersion() Return the minimum required version of the engine. Return value A version string. If not NULL, it will be checked against the version reported by the Database engine using version_compare(). Overrides Tasks::minimumVersion File core/lib/Drupal/Core/Database/Driver/sqlite/Install/Tasks.php, line 30 Class Tasks Specifies installation tasks for SQLite databases. Namespace Drupal\Core\Database\Driver\sqlite\Install Code public function minimumVersion() { r

HtmlResponseAttachmentsProcessor::$renderer

The renderer. Type: \Drupal\Core\Render\RendererInterface File core/lib/Drupal/Core/Render/HtmlResponseAttachmentsProcessor.php, line 74 Class HtmlResponseAttachmentsProcessor Processes attachments of HTML responses. Namespace Drupal\Core\Render Code protected $renderer;

ContentEntityBase::isTranslatable

public ContentEntityBase::isTranslatable() Returns the translation support status. Return value bool TRUE if the object has translation support enabled. Overrides TranslatableInterface::isTranslatable File core/lib/Drupal/Core/Entity/ContentEntityBase.php, line 338 Class ContentEntityBase Implements Entity Field API specific enhancements to the Entity class. Namespace Drupal\Core\Entity Code public function isTranslatable() { // Check that the bundle is translatable, the entity has

MenuForm::__construct

public MenuForm::__construct(QueryFactory $entity_query_factory, MenuLinkManagerInterface $menu_link_manager, MenuLinkTreeInterface $menu_tree, LinkGeneratorInterface $link_generator) Constructs a MenuForm object. Parameters \Drupal\Core\Entity\Query\QueryFactory $entity_query_factory: The factory for entity queries. \Drupal\Core\Menu\MenuLinkManagerInterface $menu_link_manager: The menu link manager. \Drupal\Core\Menu\MenuLinkTreeInterface $menu_tree: The menu tree service. \Drupal\Core\Utili

SessionManager::setWriteSafeHandler

public SessionManager::setWriteSafeHandler(WriteSafeSessionHandlerInterface $handler) Sets the write safe session handler. @todo: This should be removed once all database queries are removed from the session manager class. Overrides SessionManagerInterface::setWriteSafeHandler File core/lib/Drupal/Core/Session/SessionManager.php, line 271 Class SessionManager Manages user sessions. Namespace Drupal\Core\Session Code public function setWriteSafeHandler(WriteSafeSessionHandlerInterface $

DefaultExceptionSubscriber::on429

public DefaultExceptionSubscriber::on429(GetResponseForExceptionEvent $event) Handles a 429 error for HTTP. Parameters \Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent $event: The event to process. File core/modules/serialization/src/EventSubscriber/DefaultExceptionSubscriber.php, line 124 Class DefaultExceptionSubscriber Handles default error responses in serialization formats. Namespace Drupal\serialization\EventSubscriber Code public function on429(GetResponseForExc

Tasks::LIBMYSQLCLIENT_MINIMUM_VERSION

Minimum required libmysqlclient version. File core/lib/Drupal/Core/Database/Driver/mysql/Install/Tasks.php, line 23 Class Tasks Specifies installation tasks for MySQL and equivalent databases. Namespace Drupal\Core\Database\Driver\mysql\Install Code const LIBMYSQLCLIENT_MINIMUM_VERSION = '5.5.3';

DateTimePlus::createFromFormat

public static DateTimePlus::createFromFormat($format, $time, $timezone = NULL, $settings = array()) Creates a date object from an input format. Parameters string $format: PHP date() type format for parsing the input. This is recommended to use things like negative years, which php's parser fails on, or any other specialized input with a known format. If provided the date will be created using the createFromFormat() method. @see http://php.net/manual/datetime.createfromformat.php mixed $time: @