_views_field_get_entity_type_storage

_views_field_get_entity_type_storage(FieldStorageConfigInterface $field_storage) Determines whether the entity type the field appears in is SQL based. Parameters \Drupal\field\FieldStorageConfigInterface $field_storage: The field storage definition. Return value \Drupal\Core\Entity\Sql\SqlContentEntityStorage Returns the entity type storage if supported. File core/modules/views/views.views.inc, line 232 Provide views data that isn't tied to any other module. Code function _views_field_get_e

_views_file_status

_views_file_status($choice = NULL) Formats human-readable version of file status. Parameters int|null $choice: (optional) An integer status code. If not set, all statuses are returned. Defaults to NULL. Return value \Drupal\Core\StringTranslation\TranslatableMarkup|\Drupal\Core\StringTranslation\TranslatableMarkup[] An array of file statuses or a specified status if $choice is set. File core/modules/file/file.module, line 1551 Defines a "managed_file" Form API field and a "file" field for Fie

_views_query_tag_alter_condition

_views_query_tag_alter_condition(AlterableInterface $query, &$conditions, $substitutions) Replaces the substitutions recursive foreach condition. File core/modules/views/views.module, line 676 Primarily Drupal hooks and global API functions to manipulate views. Code function _views_query_tag_alter_condition(AlterableInterface $query, &$conditions, $substitutions) { foreach ($conditions as $condition_id => &$condition) { if (is_numeric($condition_id)) { if (is_string

Active Record

Declaring Active Record Classes Connecting to Databases Querying Data Accessing Data Saving Data Deleting Data Active Record Life Cycles Working with Transactions Optimistic Locks Working with Relational Data Saving Relations Cross-Database Relations Customizing Query Classes Selecting extra fields Active Record provides an object-oriented interface for accessing and manipulating data stored in databases. An Active Record class is associated with a database table, an Active Record instance cor

Aliases

Defining Aliases Resolving Aliases Using Aliases Predefined Aliases Extension Aliases Aliases are used to represent file paths or URLs so that you don't have to hard-code absolute paths or URLs in your project. An alias must start with the @ character to be differentiated from normal file paths and URLs. Alias defined without leading @ will be prefixed with @ character. Yii has many pre-defined aliases already available. For example, the alias @yii represents the installation path of the Yii f

Application Components

Bootstrapping Components Core Application Components Applications are service locators. They host a set of the so-called application components that provide different services for processing requests. For example, the urlManager component is responsible for routing Web requests to appropriate controllers; the db component provides DB-related services; and so on. Each application component has an ID that uniquely identifies itself among other application components in the same application. You

Applications

Application Configurations Application Properties Application Events Application Lifecycle Applications are objects that govern the overall structure and lifecycle of Yii application systems. Each Yii application system contains a single application object which is created in the entry script and is globally accessible through the expression \Yii::$app. Info: Depending on the context, when we say "an application", it can mean either an application object or an application system. There are t

Assets

Asset Bundles Defining Asset Bundles Using Asset Bundles Commonly Used Asset Bundles Asset Conversion Combining and Compressing Assets An asset in Yii is a file that may be referenced in a Web page. It can be a CSS file, a JavaScript file, an image or video file, etc. Assets are located in Web-accessible directories and are directly served by Web servers. It is often preferable to manage assets programmatically. For example, when you use the yii\jui\DatePicker widget in a page, it will automat

authclient\AuthAction $cancelUrl

$cancelUrl public property Cancel URL. public string getCancelUrl ( )public void setCancelUrl ( $url )

authclient\AuthAction $clientCollection

$clientCollection public property Name of the auth client collection application component. It should point to yii\authclient\Collection instance. public string $clientCollection = 'authClientCollection'