CommentTranslationHandler::entityFormTitle

protected CommentTranslationHandler::entityFormTitle(EntityInterface $entity) Returns the title to be used for the entity form page. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity whose form is being altered. Return value string|null The label of the entity, or NULL if there is no label defined. Overrides ContentTranslationHandler::entityFormTitle File core/modules/comment/src/CommentTranslationHandler.php, line 32 Class CommentTranslationHandler Defines the translati

LocalTaskManager

Provides the default local task manager using YML as primary definition. Hierarchy class \Drupal\Component\Plugin\PluginManagerBase implements PluginManagerInterface uses DiscoveryTraitclass \Drupal\Core\Plugin\DefaultPluginManager implements CachedDiscoveryInterface, PluginManagerInterface, CacheableDependencyInterface uses DiscoveryCachedTrait, UseCacheBackendTraitclass \Drupal\Core\Menu\LocalTaskManager implements LocalTaskManagerInterface File core/lib/Drupal/Core/Menu/LocalTaskManager

EntityTypeBundleInfo::getBundleInfo

public EntityTypeBundleInfo::getBundleInfo($entity_type) Gets the bundle info of an entity type. Parameters string $entity_type: The entity type. Return value array An array of bundle information where the outer array is keyed by the bundle name, or the entity type name if the entity does not have bundles. The inner arrays are associative arrays of bundle information, such as the label for the bundle. Overrides EntityTypeBundleInfoInterface::getBundleInfo File core/lib/Drupal/Core/Entity/Enti

EntityTypeManager::createHandlerInstance

public EntityTypeManager::createHandlerInstance($class, EntityTypeInterface $definition = NULL) Creates new handler instance. Usually \Drupal\Core\Entity\EntityManagerInterface::getHandler() is preferred since that method has additional checking that the class exists and has static caches. Parameters mixed $class: The handler class to instantiate. \Drupal\Core\Entity\EntityTypeInterface $definition: The entity type definition. Return value object A handler instance. Overrides EntityTypeManage

ImageEffectBase::getDerivativeExtension

public ImageEffectBase::getDerivativeExtension($extension) Returns the extension the derivative would have have after applying this image effect. Parameters string $extension: The file extension the derivative has before applying. Return value string The file extension after applying. Overrides ImageEffectInterface::getDerivativeExtension File core/modules/image/src/ImageEffectBase.php, line 77 Class ImageEffectBase Provides a base class for image effects. Namespace Drupal\image Code

DefaultMenuLinkTreeManipulators::flatten

public DefaultMenuLinkTreeManipulators::flatten(array $tree) Flattens the tree to a single level. Parameters \Drupal\Core\Menu\MenuLinkTreeElement[] $tree: The menu link tree to manipulate. Return value \Drupal\Core\Menu\MenuLinkTreeElement[] The manipulated menu link tree. File core/lib/Drupal/Core/Menu/DefaultMenuLinkTreeManipulators.php, line 252 Class DefaultMenuLinkTreeManipulators Provides a couple of menu link tree manipulators. Namespace Drupal\Core\Menu Code public function

Insert::__toString

public Insert::__toString() Implements PHP magic __toString method to convert the query to a string. Return value string The prepared statement. Overrides Query::__toString File core/lib/Drupal/Core/Database/Query/Insert.php, line 113 Class Insert General class for an abstracted INSERT query. Namespace Drupal\Core\Database\Query Code public function __toString() { // Create a sanitized comment string to prepend to the query. $comments = $this->connection->makeComment($this-&

RestResourceConfigInterface::METHOD_GRANULARITY

Granularity value for per-method configuration. File core/modules/rest/src/RestResourceConfigInterface.php, line 16 Class RestResourceConfigInterface Defines a configuration entity to store enabled REST resources. Namespace Drupal\rest Code const METHOD_GRANULARITY = 'method';

LocalStream::getLocalPath

protected LocalStream::getLocalPath($uri = NULL) Returns the canonical absolute path of the URI, if possible. Parameters string $uri: (optional) The stream wrapper URI to be converted to a canonical absolute path. This may point to a directory or another type of file. Return value string|bool If $uri is not set, returns the canonical absolute path of the URI previously set by the Drupal\Core\StreamWrapper\StreamWrapperInterface::setUri() function. If $uri is set and valid for this class, retu

ConfigManager::findMissingContentDependencies

public ConfigManager::findMissingContentDependencies() Finds missing content dependencies declared in configuration entities. Return value array A list of missing content dependencies. The array is keyed by UUID. Each value is an array with the following keys: 'entity_type', 'bundle' and 'uuid'. Overrides ConfigManagerInterface::findMissingContentDependencies File core/lib/Drupal/Core/Config/ConfigManager.php, line 459 Class ConfigManager The ConfigManager provides helper functions for th