EntityTypeInterface::hasLabelCallback

public EntityTypeInterface::hasLabelCallback() Indicates if a label callback exists. Return value bool Deprecated in Drupal 8.0.x-dev and will be removed before Drupal 9.0.0. Use EntityInterface::label() for complex label generation as needed. See also \Drupal\Core\Entity\EntityInterface::label() \Drupal\Core\Entity\EntityTypeInterface::getLabelCallback() \Drupal\Core\Entity\EntityTypeInterface::setLabelCallback() File core/lib/Drupal/Core/Entity/EntityTypeInterface.php, line 524 Class

Statement::execute

public Statement::execute($args = array(), $options = array()) Executes a prepared statement Parameters $args: An array of values with as many elements as there are bound parameters in the SQL statement being executed. $options: An array of options for this query. Return value TRUE on success, or FALSE on failure. Overrides StatementPrefetch::execute File core/lib/Drupal/Core/Database/Driver/sqlite/Statement.php, line 88 Class Statement SQLite implementation of \Drupal\Core\Database\Stat

ThemeAccessCheck::checkAccess

public ThemeAccessCheck::checkAccess($theme) Indicates whether the theme is accessible based on whether it is installed. Parameters string $theme: The name of a theme. Return value bool TRUE if the theme is installed, FALSE otherwise. File core/lib/Drupal/Core/Theme/ThemeAccessCheck.php, line 53 Class ThemeAccessCheck Provides access checking for themes for routing and theme negotiation. Namespace Drupal\Core\Theme Code public function checkAccess($theme) { $themes = $this->them

LocalStream::stream_open

public LocalStream::stream_open($uri, $mode, $options, &$opened_path) Support for fopen(), file_get_contents(), file_put_contents() etc. Parameters string $uri: A string containing the URI to the file to open. int $mode: The file mode ("r", "wb" etc.). int $options: A bit mask of STREAM_USE_PATH and STREAM_REPORT_ERRORS. string $opened_path: A string containing the path actually opened. Return value bool Returns TRUE if file was opened successfully. Overrides PhpStreamWrapperInterface::st

HtmlResponseAttachmentsProcessor::renderHtmlResponseAttachmentPlaceholders

protected HtmlResponseAttachmentsProcessor::renderHtmlResponseAttachmentPlaceholders(HtmlResponse $response, array $placeholders, array $variables) Renders HTML response attachment placeholders. This is the last step where all of the attachments are placed into the response object's contents. Parameters \Drupal\Core\Render\HtmlResponse $response: The HTML response to update. array $placeholders: An array of placeholders, keyed by type with the placeholders present in the content of the respons

DrupalKernel::setContainer

public DrupalKernel::setContainer(ContainerInterface $container = NULL) Sets the container. Parameters ContainerInterface|null $container A ContainerInterface instance or null: Overrides ContainerAwareInterface::setContainer File core/lib/Drupal/Core/DrupalKernel.php, line 492 Class DrupalKernel The DrupalKernel class is the core of Drupal itself. Namespace Drupal\Core Code public function setContainer(ContainerInterface $container = NULL) { if (isset($this->container)) { thr

Entity::linkTemplates

protected Entity::linkTemplates() Gets an array link templates. Return value array An array of link templates containing paths. File core/lib/Drupal/Core/Entity/Entity.php, line 251 Class Entity Defines a base entity class. Namespace Drupal\Core\Entity Code protected function linkTemplates() { return $this->getEntityType()->getLinkTemplates(); }

FormStateInterface::isMethodType

public FormStateInterface::isMethodType($method_type) Returns the HTTP form method. Parameters string $method_type: The HTTP form method. Return value bool TRUE if the HTTP form method matches. See also \Drupal\Core\Form\FormState::$method File core/lib/Drupal/Core/Form/FormStateInterface.php, line 791 Class FormStateInterface Provides an interface for an object containing the current state of a form. Namespace Drupal\Core\Form Code public function isMethodType($method_type);

Upsert::__toString

public Upsert::__toString() Implements PHP magic __toString method to convert the query to a string. The toString operation is how we compile a query object to a prepared statement. Return value string A prepared statement query string for this object. Overrides Query::__toString File core/lib/Drupal/Core/Database/Driver/sqlite/Upsert.php, line 15 Class Upsert SQLite implementation of \Drupal\Core\Database\Query\Upsert. Namespace Drupal\Core\Database\Driver\sqlite Code public function

FieldConfigListBuilder::load

public FieldConfigListBuilder::load() Loads entities of this type from storage for listing. This allows the implementation to manipulate the listing, like filtering or sorting the loaded entities. Return value \Drupal\Core\Entity\EntityInterface[] An array of entities implementing \Drupal\Core\Entity\EntityInterface. Overrides ConfigEntityListBuilder::load File core/modules/field_ui/src/FieldConfigListBuilder.php, line 89 Class FieldConfigListBuilder Provides lists of field config entitie