Drupal 8  8.0.2
TaxonomyIndexTid Class Reference
Inheritance diagram for TaxonomyIndexTid:

Public Member Functions

 __construct (array $configuration, $plugin_id, $plugin_definition, VocabularyStorageInterface $vocabulary_storage, TermStorageInterface $term_storage)
 
 init (ViewExecutable $view, DisplayPluginBase $display, array &$options=NULL)
 
 hasExtraOptions ()
 
 getValueOptions ()
 
 buildExtraOptionsForm (&$form, FormStateInterface $form_state)
 
 acceptExposedInput ($input)
 
 validateExposed (&$form, FormStateInterface $form_state)
 
 buildExposeForm (&$form, FormStateInterface $form_state)
 
 adminSummary ()
 
 getCacheContexts ()
 
 calculateDependencies ()
 
- Public Member Functions inherited from ManyToOne
 init (ViewExecutable $view, DisplayPluginBase $display, array &$options=NULL)
 
 operators ()
 
 ensureMyTable ()
 
- Public Member Functions inherited from InOperator
 init (ViewExecutable $view, DisplayPluginBase $display, array &$options=NULL)
 
 getValueOptions ()
 
 defaultExposeOptions ()
 
 buildExposeForm (&$form, FormStateInterface $form_state)
 
 operators ()
 
 operatorOptions ($which= 'title')
 
 reduceValueOptions ($input=NULL)
 
 acceptExposedInput ($input)
 
 adminSummary ()
 
 query ()
 
 validate ()
 
- Public Member Functions inherited from FilterPluginBase
 init (ViewExecutable $view, DisplayPluginBase $display, array &$options=NULL)
 
 adminSummary ()
 
 canExpose ()
 
 isAGroup ()
 
 buildOptionsForm (&$form, FormStateInterface $form_state)
 
 validateOptionsForm (&$form, FormStateInterface $form_state)
 
 submitOptionsForm (&$form, FormStateInterface $form_state)
 
 showOperatorForm (&$form, FormStateInterface $form_state)
 
 operatorOptions ()
 
 operatorSubmit ($form, FormStateInterface $form_state)
 
 showBuildGroupForm (&$form, FormStateInterface $form_state)
 
 buildGroupForm ($form, FormStateInterface $form_state)
 
 showExposeButton (&$form, FormStateInterface $form_state)
 
 buildExposeForm (&$form, FormStateInterface $form_state)
 
 validateExposeForm ($form, FormStateInterface $form_state)
 
 defaultExposeOptions ()
 
 groupForm (&$form, FormStateInterface $form_state)
 
 buildExposedForm (&$form, FormStateInterface $form_state)
 
 addGroupForm ($form, FormStateInterface $form_state)
 
 exposedInfo ()
 
 convertExposedInput (&$input, $selected_group_id=NULL)
 
 groupMultipleExposedInput (&$input)
 
 multipleExposedInput ()
 
 storeGroupInput ($input, $status)
 
 acceptExposedInput ($input)
 
 storeExposedInput ($input, $status)
 
 query ()
 
 canGroup ()
 
 getCacheMaxAge ()
 
 getCacheContexts ()
 
 getCacheTags ()
 
- Public Member Functions inherited from HandlerBase
 __construct (array $configuration, $plugin_id, $plugin_definition)
 
 init (ViewExecutable $view, DisplayPluginBase $display, array &$options=NULL)
 
 adminLabel ($short=FALSE)
 
 getField ($field=NULL)
 
 sanitizeValue ($value, $type=NULL)
 
 buildOptionsForm (&$form, FormStateInterface $form_state)
 
 setModuleHandler (ModuleHandlerInterface $module_handler)
 
 usesGroupBy ()
 
 buildGroupByForm (&$form, FormStateInterface $form_state)
 
 submitGroupByForm (&$form, FormStateInterface $form_state)
 
 hasExtraOptions ()
 
 defineExtraOptions (&$option)
 
 buildExtraOptionsForm (&$form, FormStateInterface $form_state)
 
 validateExtraOptionsForm ($form, FormStateInterface $form_state)
 
 submitExtraOptionsForm ($form, FormStateInterface $form_state)
 
 canExpose ()
 
 defaultExposeOptions ()
 
 exposedInfo ()
 
 buildExposedForm (&$form, FormStateInterface $form_state)
 
 validateExposed (&$form, FormStateInterface $form_state)
 
 submitExposed (&$form, FormStateInterface $form_state)
 
 buildExposeForm (&$form, FormStateInterface $form_state)
 
 validateExposeForm ($form, FormStateInterface $form_state)
 
 submitExposeForm ($form, FormStateInterface $form_state)
 
 showExposeButton (&$form, FormStateInterface $form_state)
 
 showExposeForm (&$form, FormStateInterface $form_state)
 
 access (AccountInterface $account)
 
 preQuery ()
 
 query ()
 
 postExecute (&$values)
 
 setRelationship ()
 
 ensureMyTable ()
 
 adminSummary ()
 
 isExposed ()
 
 isAGroup ()
 
 multipleExposedInput ()
 
 acceptExposedInput ($input)
 
 storeExposedInput ($input, $status)
 
 getJoin ()
 
 validate ()
 
 broken ()
 
 getDateFormat ($format)
 
 getDateField ()
 
 setViewsData (ViewsData $views_data)
 
 getEntityType ()
 
 displayExposedForm ($form, FormStateInterface $form_state)
 
 submitTemporaryForm ($form, FormStateInterface $form_state)
 
- Public Member Functions inherited from PluginBase
 __construct (array $configuration, $plugin_id, $plugin_definition)
 
 init (ViewExecutable $view, DisplayPluginBase $display, array &$options=NULL)
 
 filterByDefinedOptions (array &$storage)
 
 unpackOptions (&$storage, $options, $definition=NULL, $all=TRUE, $check=TRUE)
 
 destroy ()
 
 buildOptionsForm (&$form, FormStateInterface $form_state)
 
 validateOptionsForm (&$form, FormStateInterface $form_state)
 
 submitOptionsForm (&$form, FormStateInterface $form_state)
 
 query ()
 
 themeFunctions ()
 
 validate ()
 
 summaryTitle ()
 
 pluginTitle ()
 
 usesOptions ()
 
 globalTokenReplace ($string= '', array $options=array())
 
 getAvailableGlobalTokens ($prepared=FALSE, array $types=array())
 
 globalTokenForm (&$form, FormStateInterface $form_state)
 
 calculateDependencies ()
 
 getProvider ()
 
- Public Member Functions inherited from PluginInspectionInterface
 getPluginId ()
 
 getPluginDefinition ()
 
- Public Member Functions inherited from DerivativeInspectionInterface
 getBaseId ()
 
 getDerivativeId ()
 

Static Public Member Functions

static create (ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition)
 
- Static Public Member Functions inherited from HandlerBase
static getTableJoin ($table, $base_table)
 
static breakString ($str, $force_int=FALSE)
 
- Static Public Member Functions inherited from PluginBase
static create (ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition)
 
static preRenderAddFieldsetMarkup (array $form)
 
static preRenderFlattenData ($form)
 
static queryLanguageSubstitutions ()
 

Data Fields

 $validated_exposed_input = NULL
 
- Data Fields inherited from ManyToOne
 $helper = NULL
 
- Data Fields inherited from FilterPluginBase
 $value = NULL
 
 $operator= '='
 
 $group_info = NULL
 
 $no_operator = FALSE
 
 $always_required = FALSE
 
- Data Fields inherited from HandlerBase
 $query = NULL
 
 $table
 
 $tableAlias
 
 $actualTable
 
 $realField
 
 $field
 
 $actualField
 
 $relationship = NULL
 
- Data Fields inherited from PluginBase
const INCLUDE_NEGOTIATED = 16
 
const INCLUDE_ENTITY = 32
 
const VIEWS_QUERY_LANGUAGE_SITE_DEFAULT = '***LANGUAGE_site_default***'
 
 $options = array()
 
 $view = NULL
 
 $displayHandler
 
 $definition
 

Protected Member Functions

 defineOptions ()
 
 valueForm (&$form, FormStateInterface $form_state)
 
 valueValidate ($form, FormStateInterface $form_state)
 
 valueSubmit ($form, FormStateInterface $form_state)
 
- Protected Member Functions inherited from ManyToOne
 defineOptions ()
 
 valueForm (&$form, FormStateInterface $form_state)
 
 opHelper ()
 
- Protected Member Functions inherited from InOperator
 defineOptions ()
 
 operatorValues ($values=1)
 
 valueForm (&$form, FormStateInterface $form_state)
 
 valueSubmit ($form, FormStateInterface $form_state)
 
 opSimple ()
 
 opEmpty ()
 
- Protected Member Functions inherited from FilterPluginBase
 defineOptions ()
 
 canBuildGroup ()
 
 operatorForm (&$form, FormStateInterface $form_state)
 
 operatorValidate ($form, FormStateInterface $form_state)
 
 showValueForm (&$form, FormStateInterface $form_state)
 
 valueForm (&$form, FormStateInterface $form_state)
 
 valueValidate ($form, FormStateInterface $form_state)
 
 valueSubmit ($form, FormStateInterface $form_state)
 
 showBuildGroupButton (&$form, FormStateInterface $form_state)
 
 buildGroupValidate ($form, FormStateInterface $form_state)
 
 buildGroupSubmit ($form, FormStateInterface $form_state)
 
 buildGroupOptions ()
 
 buildExposedFiltersGroupForm (&$form, FormStateInterface $form_state)
 
 exposedTranslate (&$form, $type)
 
 prepareFilterSelectOptions (&$options)
 
- Protected Member Functions inherited from HandlerBase
 defineOptions ()
 
 caseTransform ($string, $option)
 
 getModuleHandler ()
 
 placeholder ()
 
 getViewsData ()
 
- Protected Member Functions inherited from PluginBase
 defineOptions ()
 
 setOptionDefaults (array &$storage, array $options)
 
 doFilterByDefinedOptions (array &$storage, array $options)
 
 viewsTokenReplace ($text, $tokens)
 
 listLanguages ($flags=LanguageInterface::STATE_ALL, array $current_values=NULL)
 
 getRenderer ()
 

Protected Attributes

 $vocabularyStorage
 
 $termStorage
 
- Protected Attributes inherited from ManyToOne
 $valueFormType = 'select'
 
- Protected Attributes inherited from InOperator
 $valueFormType = 'checkboxes'
 
 $valueOptions = NULL
 
 $valueTitle
 
- Protected Attributes inherited from FilterPluginBase
 $alwaysMultiple = FALSE
 
- Protected Attributes inherited from HandlerBase
 $moduleHandler
 
 $viewsData
 
- Protected Attributes inherited from PluginBase
 $usesOptions = FALSE
 
 $renderer
 

Additional Inherited Members

- Static Protected Member Functions inherited from FilterPluginBase
static arrayFilterZero ($var)
 

Detailed Description

Filter by term id.

("taxonomy_index_tid")

Constructor & Destructor Documentation

__construct ( array  $configuration,
  $plugin_id,
  $plugin_definition,
VocabularyStorageInterface  $vocabulary_storage,
TermStorageInterface  $term_storage 
)

Constructs a TaxonomyIndexTid object.

Parameters
array$configurationA configuration array containing information about the plugin instance.
string$plugin_idThe plugin_id for the plugin instance.
mixed$plugin_definitionThe plugin implementation definition.
\Drupal\taxonomy\VocabularyStorageInterface$vocabulary_storageThe vocabulary storage.
\Drupal\taxonomy\TermStorageInterface$term_storageThe term storage.

Member Function Documentation

adminSummary ( )

Provide text for the administrative summary.

Implements ViewsHandlerInterface.

References Drupal\entityManager(), and Entity\loadMultiple().

Here is the call graph for this function:

calculateDependencies ( )

{Calculates dependencies for the configured plugin.Dependencies are saved in the plugin's configuration entity and are used to determine configuration synchronization order. For example, if the plugin integrates with specific user roles, this method should return an array of dependencies listing the specified roles.

Returns
array An array of dependencies grouped by type (config, content, module, theme). For example:
array(
'config' => array('user.role.anonymous', 'user.role.authenticated'),
'content' => array('node:article:f0a189e6-55fb-47fb-8005-5bef81c44d6d'),
'module' => array('node', 'user'),
'theme' => array('seven'),
);
See Also
::getConfigDependencyName()
}

Implements DependentPluginInterface.

static create ( ContainerInterface  $container,
array  $configuration,
  $plugin_id,
  $plugin_definition 
)
static

{Creates an instance of the plugin.

Parameters
\Symfony\Component\DependencyInjection\ContainerInterface$containerThe container to pull out services used in the plugin.
array$configurationA configuration array containing information about the plugin instance.
string$plugin_idThe plugin ID for the plugin instance.
mixed$plugin_definitionThe plugin implementation definition.
Returns
static Returns an instance of this plugin.
}

Implements ContainerFactoryPluginInterface.

getCacheContexts ( )

{The cache contexts associated with this object.These identify a specific variation/representation of the object.Cache contexts are tokens: placeholders that are converted to cache keys by the service. The replacement value depends on the request context (the current URL, language, and so on). They're converted before storing an object in cache.

Returns
string[] An array of cache context tokens, used to generate a cache ID.
See Also
::convertTokensToKeys()
}

Implements CacheableDependencyInterface.

getValueOptions ( )

{}

init ( ViewExecutable  $view,
DisplayPluginBase  $display,
array &  $options = NULL 
)

{Initialize the plugin.

Parameters
\Drupal\views\ViewExecutable$viewThe view object.
\Drupal\views\Plugin\views\display\DisplayPluginBase$displayThe display handler.
array$optionsThe options configured for this plugin.
}

Implements ViewsPluginInterface.


The documentation for this class was generated from the following file: