template_preprocess_entity_add_list

template_preprocess_entity_add_list(&$variables) Prepares variables for the list of available bundles. Default template: entity-add-list.html.twig. Parameters array $variables: An associative array containing: bundles: An array of bundles with the label, description, add_link keys. add_bundle_message: The message shown when there are no bundles. Only available if the entity type uses bundle entities. File core/modules/system/system.module, line 337 Configuration system that lets admini

ModuleHandler::loadInclude

public ModuleHandler::loadInclude($module, $type, $name = NULL) Loads a module include file. Examples: <?php // Load node.admin.inc from the node module. $this->loadInclude('node', 'inc', 'node.admin'); // Load content_types.inc from the node module. $this->loadInclude('node', 'inc', ''content_types'); ?> Parameters string $module: The module to which the include file belongs. string $type: The include file's type (file extension). string $name: (optional) The base file nam

BookOutlineForm::create

public static BookOutlineForm::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The service

Yaml

Provides a YAML serialization implementation. Proxy implementation that will choose the best library based on availability. Hierarchy class \Drupal\Component\Serialization\Yaml implements SerializationInterface File core/lib/Drupal/Component/Serialization/Yaml.php, line 10 Namespace Drupal\Component\Serialization Members Name Modifiers Type Description Yaml::$serializer protected static property The YAML implementation to use. Yaml::decode public static function

FormStateInterface::setExecuted

public FormStateInterface::setExecuted() Sets that the form was submitted and has been processed and executed. Return value $this File core/lib/Drupal/Core/Form/FormStateInterface.php, line 682 Class FormStateInterface Provides an interface for an object containing the current state of a form. Namespace Drupal\Core\Form Code public function setExecuted();

FeedViewBuilder::__construct

public FeedViewBuilder::__construct(EntityTypeInterface $entity_type, EntityManagerInterface $entity_manager, LanguageManagerInterface $language_manager, Config $config) Constructs a new FeedViewBuilder. Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition. \Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager service. \Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager. \Drupal\Core\Config\Confi

FloatInterface

Interface for floating-point numbers. The plain value of a float is a regular PHP float. For setting the value any PHP variable that casts to a float may be passed. Hierarchy interface \Drupal\Core\TypedData\PrimitiveInterfaceinterface \Drupal\Core\TypedData\Type\FloatInterface Related topics Typed Data API API for describing data based on a set of available data types. File core/lib/Drupal/Core/TypedData/Type/FloatInterface.php, line 15 Namespace Drupal\Core\TypedData\Type Members

ViewExecutable::$old_view

Used to store views that were previously running if we recurse. Type: \Drupal\views\ViewExecutable[] File core/modules/views/src/ViewExecutable.php, line 159 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code public $old_view = array();

AccessDeniedSubscriber

Redirects users when access is denied. Anonymous users are taken to the login page when attempting to access the user profile pages. Authenticated users are redirected from the login form to their profile page and from the user registration form to their profile edit form. Hierarchy class \Drupal\user\EventSubscriber\AccessDeniedSubscriber implements EventSubscriberInterface uses UrlGeneratorTrait File core/modules/user/src/EventSubscriber/AccessDeniedSubscriber.php, line 22 Namespace Dr

ContentLanguageSettingsInterface::isLanguageAlterable

public ContentLanguageSettingsInterface::isLanguageAlterable() Checks if the language is alterable or not. Return value bool File core/modules/language/src/ContentLanguageSettingsInterface.php, line 68 Class ContentLanguageSettingsInterface Provides an interface defining language settings for content entities. Namespace Drupal\language Code public function isLanguageAlterable();