ContentEntityForm::create

public static ContentEntityForm::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 servic

ConfigSync::$typedConfigManager

The typed config manager. Type: \Drupal\Core\Config\TypedConfigManagerInterface File core/modules/config/src/Form/ConfigSync.php, line 74 Class ConfigSync Construct the storage changes in a configuration synchronization form. Namespace Drupal\config\Form Code protected $typedConfigManager;

User::isAuthenticated

public User::isAuthenticated() Returns TRUE if the account is authenticated. Return value bool TRUE if the account is authenticated. Overrides AccountInterface::isAuthenticated File core/modules/user/src/Entity/User.php, line 346 Class User Defines the user entity class. Namespace Drupal\user\Entity Code public function isAuthenticated() { return $this->id() > 0; }

ItemStorage::loadAll

public ItemStorage::loadAll($limit = NULL) Loads feed items from all feeds. Parameters int $limit: (optional) The number of items to return. Defaults to unlimited. Return value \Drupal\aggregator\ItemInterface[] An array of the feed items. Overrides ItemStorageInterface::loadAll File core/modules/aggregator/src/ItemStorage.php, line 30 Class ItemStorage Controller class for aggregators items. Namespace Drupal\aggregator Code public function loadAll($limit = NULL) { $query = \Drupal

FormStateInterface::getSubmitHandlers

public FormStateInterface::getSubmitHandlers() Gets the submit handlers. Return value array An array of submit handlers. File core/lib/Drupal/Core/Form/FormStateInterface.php, line 937 Class FormStateInterface Provides an interface for an object containing the current state of a form. Namespace Drupal\Core\Form Code public function getSubmitHandlers();

Language::$locked

Locked indicates a language used by the system, not an actual language. Examples of locked languages are, LANGCODE_NOT_SPECIFIED, und, and LANGCODE_NOT_APPLICABLE, zxx, which are usually shown in language selects but hidden in places like the Language configuration and cannot be deleted. Type: bool File core/lib/Drupal/Core/Language/Language.php, line 68 Class Language An object containing the information for an interface language. Namespace Drupal\Core\Language Code protected $locked

AjaxRenderer::renderResponse

public AjaxRenderer::renderResponse(array $main_content, Request $request, RouteMatchInterface $route_match) Renders the main content render array into a response. Parameters array $main_content: The render array representing the main content. \Symfony\Component\HttpFoundation\Request $request: The request object, for context. \Drupal\Core\Routing\RouteMatchInterface $route_match: The route match, for context. Return value \Symfony\Component\HttpFoundation\Response The Response in the format

SelectionInterface

Interface definition for Entity Reference Selection plugins. Hierarchy interface \Drupal\Core\Plugin\PluginFormInterfaceinterface \Drupal\Core\Entity\EntityReferenceSelection\SelectionInterface See also \Drupal\Core\Entity\EntityReferenceSelection\SelectionPluginManager \Drupal\Core\Entity\Annotation\EntityReferenceSelection Plugin API File core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionInterface.php, line 15 Namespace Drupal\Core\Entity\EntityReferenceSelection Member

ConfigMapperInterface::getBaseRouteName

public ConfigMapperInterface::getBaseRouteName() Returns the name of the base route the mapper is attached to. Return value string The name of the base route the mapper is attached to. File core/modules/config_translation/src/ConfigMapperInterface.php, line 36 Class ConfigMapperInterface Defines an interface for configuration mapper. Namespace Drupal\config_translation Code public function getBaseRouteName();

FormStateInterface::setRedirect

public FormStateInterface::setRedirect($route_name, array $route_parameters = array(), array $options = array()) Sets the redirect for the form. Parameters string $route_name: The name of the route array $route_parameters: (optional) An associative array of parameter names and values. array $options: (optional) An associative array of additional options. See \Drupal\Core\Url for the available keys. Return value $this See also \Drupal\Core\Form\FormSubmitterInterface::redirectForm() File core