EntityType::getClass

public EntityType::getClass() Gets the class. Return value string A fully qualified class name. Overrides PluginDefinitionInterface::getClass File core/lib/Drupal/Core/Entity/EntityType.php, line 401 Class EntityType Provides an implementation of an entity type and its metadata. Namespace Drupal\Core\Entity Code public function getClass() { return $this->class; }

AccountInterface::getAccountName

public AccountInterface::getAccountName() Returns the unaltered login name of this account. Return value string An unsanitized plain-text string with the name of this account that is used to log in. Only display this name to admins and to the user who owns this account, and only in the context of the name used to login. For any other display purposes, use \Drupal\Core\Session\AccountInterface::getDisplayName() instead. File core/lib/Drupal/Core/Session/AccountInterface.php, line 129 Class

EntityManager::clearDisplayModeInfo

public EntityManager::clearDisplayModeInfo() Overrides EntityDisplayRepositoryInterface::clearDisplayModeInfo Deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0. File core/lib/Drupal/Core/Entity/EntityManager.php, line 349 Class EntityManager Provides a wrapper around many other services relating to entities. Namespace Drupal\Core\Entity Code public function clearDisplayModeInfo() { $this->container->get('entity_display.repository')->clearDisplayModeInfo(); }

ThemeManagerInterface::alterForTheme

public ThemeManagerInterface::alterForTheme(ActiveTheme $theme, $type, &$data, &$context1 = NULL, &$context2 = NULL) Provides an alter hook for a specific theme. Similar to ::alter, it also invokes the alter hooks for the base themes. Parameters \Drupal\Core\Theme\ActiveTheme $theme: A manually specified theme. string|array $type: A string describing the type of the alterable $data. mixed $data: The variable that will be passed to $theme_TYPE_alter() implementations mixed $context1

FTPExtension::isDirectory

public FTPExtension::isDirectory($path) Checks if a particular path is a directory. Parameters string $path: The path to check Return value bool TRUE if the specified path is a directory, FALSE otherwise. Overrides FileTransfer::isDirectory File core/lib/Drupal/Core/FileTransfer/FTPExtension.php, line 84 Class FTPExtension Defines a file transfer class using the PHP FTP extension. Namespace Drupal\Core\FileTransfer Code public function isDirectory($path) { $result = FALSE; $curr

FormStateInterface::getTemporary

public FormStateInterface::getTemporary() Gets temporary data. Return value array Temporary data accessible during the current page request only. File core/lib/Drupal/Core/Form/FormStateInterface.php, line 970 Class FormStateInterface Provides an interface for an object containing the current state of a form. Namespace Drupal\Core\Form Code public function getTemporary();

EntityLastInstalledSchemaRepository::getLastInstalledDefinition

public EntityLastInstalledSchemaRepository::getLastInstalledDefinition($entity_type_id) Gets the entity type definition in its most recently installed state. During the application lifetime, entity type definitions can change. For example, updated code can be deployed. The getDefinition() method will always return the definition as determined by the current codebase. This method, however, returns what the definition was when the last time that one of the \Drupal\Core\Entity\EntityTypeListenerIn

EntityStorageBase::$idKey

Name of the entity's ID field in the entity database table. Type: string File core/lib/Drupal/Core/Entity/EntityStorageBase.php, line 43 Class EntityStorageBase A base entity storage class. Namespace Drupal\Core\Entity Code protected $idKey;

system_list_reset

system_list_reset() Resets all system_list() caches. File core/includes/module.inc, line 58 API for loading and interacting with Drupal modules. Code function system_list_reset() { drupal_static_reset('system_list'); drupal_static_reset('system_rebuild_module_data'); \Drupal::cache('bootstrap')->delete('system_list'); }

FormBuilderInterface::getForm

public FormBuilderInterface::getForm($form_arg) Gets a renderable form array. This function should be used instead of self::buildForm() when $form_state is not needed (i.e., when initially rendering the form) and is often used as a menu callback. Parameters \Drupal\Core\Form\FormInterface|string $form_arg: The value must be one of the following: The name of a class that implements \Drupal\Core\Form\FormInterface. An instance of a class that implements \Drupal\Core\Form\FormInterface. ...: An