Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. StringInterface.php

function StringInterface::isSource

Checks whether the object is a source string.

Return value

bool TRUE if the object is a source string, FALSE otherwise.

2 methods override StringInterface::isSource()
SourceString::isSource in core/modules/locale/src/SourceString.php
Checks whether the object is a source string.
TranslationString::isSource in core/modules/locale/src/TranslationString.php
Checks whether the object is a source string.

File

core/modules/locale/src/StringInterface.php, line 117

Class

StringInterface
Defines the locale string interface.

Namespace

Drupal\locale

Code

public function isSource();

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal